Commit graph

150 commits

Author SHA1 Message Date
Roland Häder
93fb5a6151 [cross] Moved CONTACT_* constants to class Friendica\Model\Contact (#670)
* [cross] Moved CONTACT_* constants to class Friendica\Model\Contact

* Other PR request:
- renamed Contact::CONTACT_IS_* to just plain Contact::* :-) (MrPetovan)
2018-07-28 01:34:38 -04:00
Michael Vogel
31d0fac64a Some more notices fixed (#672) 2018-07-26 15:20:12 -04:00
Michael Vogel
429b9c9f4a
Merge branch 'develop' into notices-again 2018-07-24 04:19:48 +02:00
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
1f9c353bae And again some removed notices 2018-07-22 06:41:30 +00: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
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
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
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
Adam Magness
b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
3db056fe79 Other addons
found a few more
2018-01-22 17:58:55 -05:00
Adam Magness
96c41e5623 Update strings
update strings to contain addon
2018-01-20 11:01:59 -05:00
Adam Magness
0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
3b093a1bff We now use the new delete function for items 2018-01-19 05:36:01 +00:00
Hypolite Petovan
27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00