Commit Graph

145 Commits

Author SHA1 Message Date
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
Tobias Diekershoff 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
Michael 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
Michael 5e72da205c And again .. 2018-06-28 16:43:06 +00:00
Michael a4b61a4157 Even more standards 2018-06-28 16:39:25 +00:00
Michael 26541c5b75 It's all about standards ... 2018-06-28 05:21:13 +00:00
Michael 337464c6b0 Fix: Wrong variable name in "if" / Some reworked parts 2018-06-24 05:02:09 +00:00
Michael f8916bf9d9 Pumpio: Fix for wrong item class function call 2018-06-23 10:51:45 +00:00
Tobias Diekershoff 9bec9f2e9a missing use DBM 2018-06-19 18:34:40 +02:00
Michael 0d204c07da More item calls have been converted to current functions 2018-06-18 05:15:46 +00:00
Michael 392bb7d5aa Remove direct item sql queries 2018-06-17 06:20:47 +00:00
Michael e1714de8ad New function for generating item URIs 2018-06-16 06:46:25 +00:00
Michael 476302afc5 Return values 2018-05-29 12:36:44 +00:00
Michael 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
Michael d29890613e Simpler form 2018-02-06 16:24:35 +00:00
Michael 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
Michael 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
Michael 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
Hypolite Petovan a66a4959f5 Rename selectOne to selectFirst 2018-01-10 08:37:11 -05:00
Hypolite Petovan 3e141d268e Fix formatting 2018-01-09 22:27:40 -05:00
Hypolite Petovan ca6e477701 Replace dba::select(limit => 1) by dba::selectOne() 2018-01-09 22:27:30 -05:00
Hypolite Petovan 58495893b9 Remove group_member.uid in pumpio 2017-12-14 22:52:08 -05:00
Hypolite Petovan 6e6f64a537 Remove references to include/group.php 2017-12-09 13:50:44 -05:00