Commit Graph

20136 Commits

Author SHA1 Message Date
Roland Häder 6b5d90333f Fixes for some E_NOTICE and type-hints added (#5358)
* Fixed http://github to https://github

Signed-off-by: Roland Häder <roland@mxchange.org>

* Fixes for #4965:
- updated messages.po file

Signed-off-by: Roland Häder <roland@mxchange.org>

* Fixed E_NOTICE where isset()/empty() was absent.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Fixed missing variable $sql_order causing E_NOTICE.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Continued:
- added array type-hint where known (some)

Signed-off-by: Roland Häder <roland@mxchange.org>

* Fixes:
- in Profile::load() $user is now only one-dimensional
- $a->get_hostname is no property, it is a method

Signed-off-by: Roland Häder <roland@mxchange.org>

* reverted changes that are unintended

Signed-off-by: Roland Häder <roland@mxchange.org>

* Continued:
- removed leading \ (uncommon, okay)
- removed entire if() block (CR by Hypolite)

Signed-off-by: Roland Häder <roland@mxchange.org>

* Removed if() block

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-13 15:47:14 -04:00
Tobias Diekershoff 30cef1a739 some plugins left over (#5369)
* tinymce is not used anymore, we can delete the cuson CSS file

* mv the plugins_details template to addon_details

* renamed template called from admin panel

* some CSS classes that should be addon where still plugin

* Insert a warning into the generated quattro CSS files
2018-07-12 13:18:45 -04:00
Tobias Diekershoff 35ac3f32a0
Merge pull request #5366 from astifter/properly_readd_quattro_css
Properly readd CSS changes from PR #5345 in quattro.
2018-07-12 10:39:42 +02:00
Andreas Neustifter 5e76ea6a35 Properly readd CSS changes from PR #5345.
I wrongly added CSS to generated files, now adding changes to less
as is good and proper.

And sorry for PR #5356.
2018-07-11 21:27:44 +02:00
hoergen 47582cd5ee updated wall-spacer and color of preview (#5357)
* Update wall_thread.tpl

named an unnamed style definition to can address it via css

* Update style.css

Added div wall-spacer definition

* Update wall_thread.tpl

removed wall-spacer definition. moved to main css

* Update style.css

* Update wall_thread.tpl

* Update plusminus.css

wall-spacer and color of preview changed

* Update plusminus.css

* spaces

spaces

* Update style.css

* Update style.css

removed tabs and spaces
2018-07-11 14:33:44 -04:00
Andreas Neustifter dd00a943f2 Only make changes for frio. (#5347) 2018-07-11 11:28:38 -04:00
Tobias Diekershoff 34b17ed8fe regenerated quattro CSS files from the less sources to fix #5356 (#5364) 2018-07-11 08:26:23 -04:00
Tobias Diekershoff 26723623f4
Merge pull request #5363 from annando/daemin
Workaround for stalling worker processes when running the daemon
2018-07-11 08:26:09 +02:00
Michael 3cb7a7606e workaround for stalling worker processes when running the daemon 2018-07-11 06:05:22 +00:00
Roland Häder 8825728fa4 "Imported" name spaces (#5361)
* Fixes for #5355:
- let's import SPL/extension classes and then just use them without name spaces
  like we do it with our own classes/interfaces, too.
- need to add namespace \ (global)

Signed-off-by: Roland Häder <roland@mxchange.org>

* Removed leading slashes from "import" lines.

Signed-off-by: Roland Häder <roland@mxchange.org>

* Completed:
- "import" other classes, then use them

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-10 18:55:01 -04:00
Michael Vogel 3792e2819d Use a process identifier for logging that contains the pid (#5359) 2018-07-10 18:32:47 -04:00
Andreas Neustifter ef0e34adf3 Use imports to reduce quattros css duplications. (#5356) 2018-07-10 16:59:14 -04:00
Andreas Neustifter 298b528c81 Seperate blocks in /admin/features. (#5345)
* Seperate blocks in /admin/features.

Its hard to distinguish between blocks of settings in the features page. Its
useful to clearly mark the blocks belonging together.

* Also try to separate items for other themes.

* Make sure separate settings boxes work in all themes.
2018-07-10 16:57:13 -04:00
hoergen 39abfb547d Update wall_thread.tpl (#5352)
* Update wall_thread.tpl

named an unnamed style definition to can address it via css

* Update style.css

Added div wall-spacer definition

* Update wall_thread.tpl

removed wall-spacer definition. moved to main css

* Update style.css

* Update wall_thread.tpl
2018-07-10 09:31:29 -04:00
Michael Vogel 0360f7197a Several more warnings ... (#5340)
* Some more warnings removed

* Even more warnings ...

* Will it ever end? ;-)

* Avoid warning in dbstructure

* Origin and OStatus ...

* There are more warnings solved ... yeah!

* And again ...

* We are not done yet

* And more ...

* And some new places ...

* And more in the feeds

* Avoid some more

* And some backend stuff

* Notifications cleared

* Some more stuff

* and again ...

* It's getting fewer ...

* Some warnings had been hidden in the notifications

* Fix the fix

* And another missing one ...

* We need the owner here, not the user

* Forgotten user

* And more ...

* And some more warnings disappeared ...

* Some more frontend warnings

* Some backend warnings removed

* Fixed sidebar for "vier"

* And more ...

* Some more ...

* And something for "remote self"

* Am I stuck in an endless loop?

* Fix: Clear tag and file field on update

* Preset page content
2018-07-10 08:27:56 -04:00
Andreas Neustifter 32ef5623ab [frio] Improve Group Editing (#5349)
* Improve group-editing and edit-navigation.

Use icons next to groups and header for navigation to editing groups and adding new groups.
Also use icon from group-sidebar for editing groups.

* Unify look&feel of contact search bars.

* Remove nogroup page and replace with /group/none.

* Make sure proper items are selected in aside.

* Use icon instead of link for 'View Contacs' on profile page.

* Fix none-working /group/none.

* Fix highlighting for everyone in group aside.
2018-07-09 18:36:50 -04:00
Andreas Neustifter 09b7e217c7 [Suggestion] Move New User Tip Link (#5342)
* Move new member tips to navigation bar.

The link looks so forlorn when its just somewhere in there. Put it in the nav bar.

* Style new member hints link propery.

* Make changes requested by @MrPetovan.
2018-07-09 18:20:57 -04:00
Michael Vogel ff1074d38f
Merge pull request #5351 from nupplaphil/system_guid
System guid
2018-07-09 23:32:26 +02:00
Philipp Holzer e5c767d809
a new unittest for prefix 2018-07-09 22:15:11 +02:00
Philipp Holzer a84c94e94b
bugfix isempty... 2018-07-09 22:10:35 +02:00
Philipp Holzer d1eeaeead9
empty is not isset ... 2018-07-09 21:53:49 +02:00
Philipp Holzer 8c2258dd2e
switched back to origin TestCase structure 2018-07-09 21:48:47 +02:00
Philipp Holzer dbc38d4263
improved unittest 2018-07-09 21:40:38 +02:00
Philipp Holzer c829e43725
moved get_guid to System::createGUID 2018-07-09 21:38:16 +02:00
Hypolite Petovan 3a179860e5
Merge pull request #5346 from astifter/redirect_empty_group_to_contacts
Redirect empty group to /contacts.
2018-07-09 08:26:39 -04:00
Hypolite Petovan e93f4e5c0c
Merge pull request #5348 from astifter/use_h3_for_showing_contacts
Use h3 instead of h4 in contacts block
2018-07-09 08:21:43 -04:00
Tobias Diekershoff b2844ead0d
Merge pull request #5343 from astifter/fix_relocate_button
Fix relocate button label.
2018-07-09 14:09:00 +02:00
Tobias Diekershoff 0f10a2ab74
Merge pull request #5344 from astifter/improve_nginx_sample
Improve nginx Configuration Sample
2018-07-09 13:59:38 +02:00
Andreas Neustifter 5765b8d498 Redirect empty group to /contacts.
The empty /group page is not really doing anything, redirect to /contacts.
2018-07-09 12:42:32 +02:00
Andreas Neustifter 56b6adc396 Fix relocate button label.
In settings the 'Start Relocate' button is also labeld 'Save Settings'.
2018-07-09 12:42:32 +02:00
Andreas Neustifter 6a85b34504 [nginx] Use try_file instead of if.
See https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/?utm_source=tool.lu#check-if-file-exists.
2018-07-09 12:42:32 +02:00
Andreas Neustifter 79a8320fed [nginx] Use try_files instead of if for /.well-known/.
See https://www.nginx.com/resources/wiki/start/topics/depth/ifisevil/
2018-07-09 12:42:32 +02:00
Andreas Neustifter f44cb1ccce [nginx] Move together deny blocks. 2018-07-09 12:42:32 +02:00
Andreas Neustifter cb600b5a5f [nginx] Readd option to statically server pictures. 2018-07-09 12:42:32 +02:00
Andreas Neustifter 92f47f8eca [nginx] Fix indentation. 2018-07-09 12:42:32 +02:00
Andreas Neustifter d442024c0e Make sure contacs header is same size as everything in aside.
All the widgets in asside have h3 for their headers, use this for showing contacts too.
2018-07-09 12:42:31 +02:00
Hypolite Petovan 7211fc4f1a
Merge pull request #5338 from annando/warnings
Remove warnings
2018-07-08 09:55:26 -04:00
Michael 675a6adf35 Added comment 2018-07-08 13:52:11 +00:00
Michael 6d90751110 Added missing "use 2018-07-08 13:39:48 +00:00
Hypolite Petovan b5a009c170
Merge pull request #5339 from nupplaphil/redis_serialize
Redis serialize
2018-07-08 09:35:55 -04:00
Michael 1d745c25a7 Some more places ... 2018-07-08 12:58:43 +00:00
Michael 8a2230bc4c Avoid warnings in addons 2018-07-08 12:01:36 +00:00
Michael 7d6933c898 Avoid "Trying to get property of non-object" 2018-07-08 11:46:05 +00:00
Philipp Holzer 269221f013
Merge branch 'develop' of https://github.com/friendica/friendica into redis_serialize 2018-07-08 13:36:05 +02:00
Philipp Holzer be83696f02
Redis serialize instead of json because of objects 2018-07-08 13:35:28 +02:00
Michael 3e797547a3 Warnings fixed 2018-07-08 09:37:05 +00:00
Michael Vogel c6efbcd1aa
Merge pull request #5332 from annando/fix-lock
urgent bugfix: Wrong function name for locks
2018-07-08 11:35:21 +02:00
Michael c25c3b5981 urgent bugfix: Wrong function name for locks 2018-07-08 08:32:50 +00:00
Hypolite Petovan 1c3bed1777
Merge pull request #5328 from annando/item-activities
Item activities are now stored in a separate table
2018-07-08 01:54:32 -04:00
Michael c2d4b557ae Only build tag and file when really needed 2018-07-08 05:44:35 +00:00