Commit Graph

3153 Commits

Author SHA1 Message Date
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
Michael a10a8361a7 This will work 2018-07-22 06:50:34 +00:00
Michael 1f9c353bae And again some removed notices 2018-07-22 06:41:30 +00:00
Roland Häder c7764068cc [blogger] Cleanups: (#656)
* [blogger] Cleanups:
- used `use Friendica\App;`
- added type-hints for `App` and `array` where applyable
- removed extra space
- added other spaces

* [blogger]:
- ops, curly brace in new line in function/method declaration
- proper way for x() replacement
2018-07-20 22:21:06 -04:00
Hypolite Petovan 2d2167c146 [advancedcontentfilter] Rename DBA::inArray to DBA::toArray 2018-07-20 22:16:16 -04:00
Roland Häder aaab504eb2 [blockem] Cleanups: (#655)
* [blockem] Cleanups:
- used `use Friendica\App;`
- used proper type-hints
- added spaces and curly braces for better readability

* [blockem] Moved open curly braces to new line

* [blockem]:
- changed checking condition (CR request)
- added/removed more spaces

* [blockem]: converted 4 spaces -> tab
2018-07-20 21:51:15 -04:00
Andreas Neustifter 81e57250e8 [curweather] Only shown notice about unavailable weather once per session. (#653)
* [curweather] Only shown notice about unavailable weather once per session.

* Fix even more whitespace.

As requested by @MrPetovan.

* [curweather] Reset session's curweather_notice_shown when weather available again.
2018-07-20 15:58:53 -04:00
Andreas Neustifter aa1a542396 [js_upload] Better wording for mass-upload photos button. (#654) 2018-07-20 15:15:09 -04:00
Michael Vogel 4168bff3b9
Merge pull request #652 from MrPetovan/task/5410-rename-dba-to-DBA
[multiple] Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 19:45:26 +02: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
Tobias Diekershoff a4c4bbc7b0
Merge pull request #651 from annando/notices
Fixes some notice
2018-07-20 12:49:55 +02:00
Michael 9616e770f3 Fixes some notice 2018-07-20 05:36:55 +00:00
Michael Vogel 18e43c0138
Merge pull request #649 from MrPetovan/task/5410-move-dba-to-src
[multiple] Move \dba to \Friendica\Database\dba
2018-07-20 06:50:49 +02:00
Hypolite Petovan abc76a42ae [multiple] Move \dba to \Friendica\Database\dba
- Updated use statement lists
2018-07-19 22:18:02 -04:00
Tobias Diekershoff a9aee26225
Merge pull request #648 from astifter/curweather_fix_header
Unify header level for weather widget.
2018-07-19 06:35:54 +02:00
Andreas Neustifter 3050aef871 Unify header level for weather widget. 2018-07-19 06:18:45 +02: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
Tobias Diekershoff 4a442c995c
Merge pull request #647 from MrPetovan/task/add-mastodoncustomemojis-addon
[mastodoncustomenojis] Add shorter ttl for API call fail
2018-07-18 06:22:02 +02:00
Hypolite Petovan ca1b27d10f [mastodoncustomenojis] Add shorter ttl for API call fail
- Add cache bypass through system.ignore_cache
2018-07-17 20:34:59 -04:00
Roland Häder 79e686b326 Use `use keyword` for "importing" classes/interfaces into your current (#646)
namespace (if any).

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-17 01:12:52 -04:00
Roland Häder e0145ca216 Fixes E_NOTICE for absent 'port' element (#645)
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-16 19:40:09 -04: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 ed8eb47b11 [testdrive] Fix Friendica official URL 2018-07-15 12:52:24 -04:00
Hypolite Petovan 425a5c99b4 [piwik] Fix indentation in README 2018-07-15 12:52:10 -04:00
Michael Vogel abd52dbadd
Merge pull request #642 from MrPetovan/task/add-mastodoncustomemojis-addon
[mastodoncustomemojis] Add new addon
2018-07-15 17:41:58 +02:00
Michael Vogel ec3037cc5f
Merge pull request #641 from MrPetovan/develop
[ImgBot] optimizes images
2018-07-14 23:52:44 +02:00
Hypolite Petovan 6e4d594c7d [mastodoncustomemojis] Add new addon 2018-07-14 06:08:36 -04:00
Hypolite Petovan 52e9cf4d59
Merge pull request #3 from MrPetovan/imgbot
[ImgBot] optimizes images
2018-07-14 02:29:20 -04:00
ImgBotApp 1ba2da2f31 [ImgBot] optimizes images
*Total -- 800.45kb -> 573.62kb (28.34%)

/dav/colorpicker/arrow.png -- 26.66kb -> 0.39kb (98.53%)
/jappixmini/jappix/img/wait/wait-medium.png -- 4.03kb -> 0.68kb (83.1%)
/xmpp/converse/css/images/bitcoin_qr_code.png -- 4.12kb -> 1.07kb (73.95%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/principal.png -- 5.35kb -> 1.60kb (70.15%)
/sniper/70x45.jpg -- 15.15kb -> 5.14kb (66.03%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/card.png -- 5.56kb -> 1.91kb (65.65%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/file.png -- 2.77kb -> 1.03kb (62.99%)
/sniper/32x32.jpg -- 13.58kb -> 5.18kb (61.87%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/addressbook.png -- 7.06kb -> 2.76kb (60.98%)
/sniper/60x60.jpg -- 19.07kb -> 8.73kb (54.24%)
/sniper/80x70.jpg -- 5.10kb -> 2.33kb (54.2%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/collection.png -- 3.39kb -> 1.60kb (52.76%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/parent.png -- 3.39kb -> 1.60kb (52.76%)
/sniper/125x125.jpg -- 30.95kb -> 14.77kb (52.28%)
/sniper/80x80hotshotsniper.jpg -- 23.20kb -> 11.29kb (51.33%)
/js_upload/file-uploader/tests/jquery-ui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png -- 4.32kb -> 2.12kb (51.03%)
/smilies_adult/icons/drunk.gif -- 0.63kb -> 0.31kb (50.46%)
/sniper/100x100.jpg -- 29.77kb -> 15.36kb (48.41%)
/smilies_adult/icons/bong.gif -- 1.82kb -> 0.96kb (47%)
/xmpp/converse/css/images/user.png -- 1.66kb -> 0.93kb (44.08%)
/sniper/150x150.jpg -- 42.74kb -> 23.97kb (43.92%)
/dav/jqueryui/images/ui-bg_gloss-wave_35_f6a828_500x100.png -- 3.67kb -> 2.12kb (42.37%)
/dav/wdcal/css/images/calendar/load-bg.png -- 1.02kb -> 0.60kb (40.98%)
/sniper/180x135.jpg -- 10.22kb -> 6.09kb (40.45%)
/sniper/80x60.jpg -- 7.70kb -> 4.84kb (37.11%)
/ifttt/ifttt.png -- 7.55kb -> 4.79kb (36.51%)
/smiley_pack/icons/sad/crying.png -- 1.23kb -> 0.79kb (35.35%)
/sniper/75x57.jpg -- 8.10kb -> 5.25kb (35.17%)
/sniper/70x60.jpg -- 7.98kb -> 5.22kb (34.59%)
/dav/SabreDAV/lib/Sabre/DAV/Browser/assets/icons/calendar.png -- 4.29kb -> 2.82kb (34.09%)
/sniper/81x67.jpg -- 9.58kb -> 6.42kb (32.96%)
/dav/colorpicker/screenshot.png -- 2.03kb -> 1.38kb (32.19%)
/sniper/73x80.jpg -- 9.23kb -> 6.30kb (31.79%)
/sniper/100x80.jpg -- 12.23kb -> 8.37kb (31.54%)
/sniper/100x75.jpg -- 11.73kb -> 8.08kb (31.1%)
/sniper/120x90hotshotsniper.jpg -- 15.74kb -> 11.00kb (30.15%)
/sniper/140x90.jpg -- 17.28kb -> 12.29kb (28.83%)
/sniper/300x200.jpg -- 16.08kb -> 11.81kb (26.53%)
/sniper/300x300.jpg -- 19.07kb -> 14.30kb (25.03%)
/sniper/335x185.jpg -- 14.99kb -> 11.36kb (24.18%)
/dav/wdcal/css/images/calendar/bubble_combined.png -- 1.92kb -> 1.52kb (20.87%)
/sniper/250x180.jpg -- 38.65kb -> 31.69kb (18%)
/smileybutton/view/smoothly.png -- 0.95kb -> 0.79kb (16.79%)
/xmpp/converse/css/images/overlay.png -- 47.50kb -> 39.89kb (16.01%)
/smileybutton/view/vier.png -- 0.92kb -> 0.78kb (14.57%)
/smiley_pack/icons/food/cake.gif -- 0.65kb -> 0.56kb (13.77%)
/twitter/vendor/abraham/twitteroauth/tests/kitten.jpg -- 210.64kb -> 202.94kb (3.66%)
/smiley_pack/icons/fight/gangs.gif -- 1.71kb -> 1.65kb (2.98%)
/xmpp/converse/css/images/header.jpg -- 30.31kb -> 29.41kb (2.96%)
/statusnet/signinwithstatusnet.png -- 5.67kb -> 5.52kb (2.6%)
/smiley_pack/icons/respect/bravo.gif -- 0.74kb -> 0.72kb (2.5%)
/dav/wdcal/css/images/icons/mtgrsp-decline.gif -- 0.30kb -> 0.29kb (1.32%)
/smiley_pack/icons/fight/dead.gif -- 0.16kb -> 0.16kb (1.2%)
/catavatar/avatars/fur_5.png -- 6.58kb -> 6.50kb (1.08%)
/dav/wdcal/css/images/icons/appt.gif -- 0.56kb -> 0.56kb (1.04%)
/catavatar/avatars/fur_6.png -- 5.70kb -> 5.65kb (0.74%)
/smiley_pack/icons/fight/army.gif -- 2.95kb -> 2.93kb (0.69%)
/dav/wdcal/css/images/icons/mtgrsp-tent.gif -- 0.29kb -> 0.29kb (0.67%)
/smiley_pack/icons/devilangel/angel.gif -- 0.30kb -> 0.30kb (0.64%)
/smiley_pack/icons/confused/shrug.gif -- 0.18kb -> 0.18kb (0.54%)
/dav/wdcal/css/images/icons/calwrkwk.gif -- 0.38kb -> 0.37kb (0.52%)
/smiley_pack/icons/fight/crusader.gif -- 0.39kb -> 0.39kb (0.5%)
/catavatar/avatars/body_12.png -- 12.70kb -> 12.65kb (0.42%)
/smiley_pack/icons/happy/cloud9.gif -- 0.26kb -> 0.26kb (0.38%)
2018-07-14 02:28:43 -04:00
Hypolite Petovan 6c443aeaf0 Move addon-specific config to config/addon.ini.php 2018-07-11 22:56:52 -04:00
Hypolite Petovan 7ee6c3a20c [fortunate] Mark addon as unsupported 2018-07-10 08:47:57 -04:00
Hypolite Petovan f47e6cbc24 Revert "[fortunate] Move addon to deprecated-addons"
This reverts commit 9ad60dfe4d.
2018-07-10 08:44:13 -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 d96370bfad Update multiple README.md
- Update geonames, impressum, piwik, public_server, testdrive, twitter
2018-07-10 08:41:31 -04:00
Hypolite Petovan cb4f60c257 [twitter] Add addon config 2018-07-10 08:41:31 -04:00
Hypolite Petovan 9f0a441fe4 [testdrive] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Hypolite Petovan 9cc5f29dad [pumpio] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:41:31 -04:00
Hypolite Petovan 05077bf127 [public_server] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan e20f30888f [piwik] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan d9808fecdf [openstreetmaps] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan 88278dbe19 [mathjax] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan 8220a78a71 [libravatar] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:48 -04:00
Hypolite Petovan 858d09e865 [ldapauth] Add addon config
- Update mentions of .htconfig.php
2018-07-10 08:39:47 -04:00
Hypolite Petovan 723625f95f [impressum] Add addon config
- Update mentions to .htconfig.php
2018-07-10 08:39:47 -04:00
Hypolite Petovan 990b5bf231 [gravatar] Add addon config
- Update mentions to .htconfig.php
2018-07-10 08:39:47 -04:00
Hypolite Petovan 57f6ac5bad [geonames] Add addon config 2018-07-10 08:39:47 -04:00
Hypolite Petovan 9ad60dfe4d [fortunate] Move addon to deprecated-addons 2018-07-10 08:39:47 -04:00