Commit graph

177 commits

Author SHA1 Message Date
Hypolite Petovan
522e8e58c2 [multiple] Rename dbesc to DBA::escape 2018-07-23 15:35:22 -04:00
Hypolite Petovan
f4ad0d3721 Rename DBA::is_result to DBA::isResult 2018-07-23 15:02:59 -04:00
Hypolite Petovan
332ea212b5 Rename DBM method calls to DBA method calls 2018-07-23 15:02:10 -04:00
Roland Häder
a9da9db7eb [pumpio] Fixes/imports: (#661)
* [pumpio] Fixes/imports:
- added curly braces and spaces for better readability
- merged 2 `if()` blocks into one for lesser nested code blocks
- added type-hint `App` and `array` where applyable
- better "import" (`use` under PHP) classes and not reference them directly,
  reducing and improving readability

* [pumpio] Fixes:
- x() is deprecated, let's use !empty() instead
- added spaces for better readability

* [pumpio] Fixes:
- added missing App "imports" (thanks to MrPetovan)
- added type-hint array for $b
- added some spaces
2018-07-22 12:01:05 -04:00
Hypolite Petovan
57505bdf82 [multiple] Rename Friendica\Database\dba to Friendica\Database\DBA 2018-07-20 08:20:48 -04:00
9463696159
Merge pull request #650 from annando/post-type
We don't store the "type" parameter anymore
2018-07-20 12:53:12 +02:00
Hypolite Petovan
abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Michael Vogel
3940618a4a
Merge pull request #633 from MrPetovan/task/4889-move-config-to-config
Move configuration to config/
2018-07-18 11:04:38 +02:00
cdd510909f We don't store the "type" parameter anymore 2018-07-18 05:49:41 +00:00
Michael Vogel
e74ccf35c9 Some notices had been removed / expiring of item related tables in twitter (#643)
* Some notices had been removed / expiring of item related tables in twitter

* Some more ...
2018-07-15 14:40:20 -04:00
Hypolite Petovan
6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan
d86bf8eb45 [pumpio/twitter] Replace global $a with BaseObject::getApp() 2018-07-10 08:41:32 -04:00
Hypolite Petovan
9e1e088c09 [various] Replace direct accesses to $a->config with Config::get 2018-07-10 08:41:32 -04:00
Hypolite Petovan
9cc5f29dad [pumpio] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Michael Vogel
475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
5e72da205c And again .. 2018-06-28 16:43:06 +00:00
a4b61a4157 Even more standards 2018-06-28 16:39:25 +00:00
26541c5b75 It's all about standards ... 2018-06-28 05:21:13 +00:00
337464c6b0 Fix: Wrong variable name in "if" / Some reworked parts 2018-06-24 05:02:09 +00:00
f8916bf9d9 Pumpio: Fix for wrong item class function call 2018-06-23 10:51:45 +00:00
9bec9f2e9a missing use DBM 2018-06-19 18:34:40 +02:00
0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
93c564ecc5 updated CS translation of the pumpio addon THX Aditoo 2018-06-12 16:19:21 +02:00
Hypolite Petovan
97108080c2
Merge pull request #608 from annando/delete
Changed function that will be private in the future
2018-05-29 10:00:18 -04:00
476302afc5 Return values 2018-05-29 12:36:44 +00:00
5c668bd6e9 Changed function that will be private in the future 2018-05-29 05:24:25 +00:00
fed141ba05 update to the FI translations THX kris 2018-05-20 19:38:15 +02:00
50f5c7e251 update to the FI translation THX Kris 2018-04-17 07:21:08 +02:00
eb5eb5986d update to the FI translations 2018-04-09 15:00:17 +02:00
85815a8810 added FI translations to many addons THX Kris 2018-04-06 13:58:38 +02:00
29b930ade4 pumpio PL translation 2018-04-01 18:45:34 +02:00
fabrixxm
3f7685d8a8 Merge branch 'master' into develop 2018-03-23 11:52:12 +01:00
fabrixxm
bfd8e37fb8 Update IT strings 2018-03-19 21:28:00 +01:00
Hypolite Petovan
ab0f359602 Replace htmlt2* with HTML class methods
- Remove references to include/html2*.php
2018-03-07 16:48:34 -05:00
Hypolite Petovan
88ca2f5a1e Remove references to include/bbcode.php 2018-02-14 22:04:06 -05:00
Hypolite Petovan
91fd77af3b Refactor bbcode() into BBCode::convert() 2018-02-14 21:43:40 -05:00
Hypolite Petovan
f4e38b6ee9 Fix use statements 2018-02-14 21:43:27 -05:00
d29890613e Simpler form 2018-02-06 16:24:35 +00:00
8b049a96bd Direct calls to the database are replace by class calls to the item class 2018-02-06 14:24:24 +00:00
Hypolite Petovan
1900da6c42 Move Temporal::convert() to DateTimeFormat::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
cbc89d147d Add Temporal::utc() shorthand to Temporal::convert() 2018-02-03 11:40:39 -05:00
Hypolite Petovan
e4f32f8ac8 Add Temporal::utcNow() 2018-02-03 11:40:38 -05:00
Hypolite Petovan
6d23de1bdb Add Temporal::MYSQL constant 2018-02-03 11:40:38 -05:00
Hypolite Petovan
b24690e8df Refactor datetime_convert() into Temporal::convert() 2018-02-03 11:40:38 -05:00
Hypolite Petovan
48935de469 [pumpio] Fix comment 2018-01-30 23:42:22 -05:00
229b21d7b2 New methods in item class 2018-01-28 11:19:38 +00:00
Adam Magness
f151406355 Review updates
update renamed and moved functions
2018-01-27 11:23:04 -05:00
Adam Magness
ca3c45101e Network was moved to src
update all function calls to use class, insert use statements and remove require_once statements
2018-01-27 08:52:02 -05:00