Commit Graph

20187 Commits

Author SHA1 Message Date
Hypolite Petovan de7277ac69 Add load_config hook doc 2018-07-16 19:38:15 -04:00
Hypolite Petovan 4e7471232e Bump minimum PHP version to 5.6.1 2018-07-16 19:38:15 -04:00
Hypolite Petovan 5196ea22ff Fix Database connexion in tests 2018-07-16 19:38:15 -04:00
Hypolite Petovan 7f04a2ab8b Replace system.proc_windows config by PHP_OS test 2018-07-16 19:38:15 -04:00
Hypolite Petovan 2e40c39fa4 Add system.groupedit_image_limit config key to defaults.ini.php 2018-07-16 19:38:15 -04:00
Hypolite Petovan cd9b864045 Rework App modes
- Replace App mode constants with capability-based flags
- Add App->isInstallMode()
- Add file config fallback in (P)Config abstraction
- Removed logger disabling code
2018-07-16 19:38:15 -04:00
Hypolite Petovan d487c399dd Standards: Rename App methods
- Rename App->max_processes_reached to App->isMaxProcessesReached
- Rename App->maxload_reached to App->isMaxLoadReached
2018-07-16 19:38:14 -04:00
Hypolite Petovan 73b4e0552d Fix wrong urlpath determination 2018-07-16 19:38:14 -04:00
Hypolite Petovan 6d4615fabd Update config/defaults.ini.php
- Move sections around
- Update config.admin_email value type
2018-07-16 19:38:14 -04:00
Hypolite Petovan 5e8185f7b4 Fix INSTALL
- Change config file permissions
- Remove leading slash of config/
2018-07-16 19:38:14 -04:00
Hypolite Petovan 54a465c577 Update documentation
- Add line breaks on periods
- Remove obsolete text
2018-07-16 19:38:14 -04:00
Hypolite Petovan 5a93c3abfa Revert doc/Config title 2018-07-16 19:38:14 -04:00
Hypolite Petovan cce1a96bee Reorganize .gitignore
- Delete duplicates
- Add leading slash to /doc/html
- Typo
2018-07-16 19:38:14 -04:00
Hypolite Petovan 02cabef99d Move doc/htconfig.md to doc/Config.md
- Updated all .htconfig.php references in other documentation pages
- Added migration part
2018-07-16 19:38:14 -04:00
Hypolite Petovan 3fc21f0d64 Fix config mentions (no doc) 2018-07-16 19:38:14 -04:00
Hypolite Petovan 2e2930d770 Add addon config hook 2018-07-16 19:38:14 -04:00
Hypolite Petovan b10ae510c0 Updated configuration files
- Added system.account_abandon_days and system.addon to defaults.ini.php
- Fixed database section key names in local-sample.ini.php
2018-07-16 19:38:14 -04:00
Hypolite Petovan 0448ca3897 Update install procedure
- Fix Notice messages in Core\Install and Database\DBStructure
- Move local config file template from htconfig.tpl to local.ini.tpl
- Remove htconfig.php
2018-07-16 19:38:14 -04:00
Hypolite Petovan e7c3d453c2 Update config console command 2018-07-16 19:38:14 -04:00
Hypolite Petovan f0ce897647 Remove stray include of .htconfig.php in index.php 2018-07-16 19:38:13 -04:00
Hypolite Petovan fd7179ee6c Prevent infinite loops with Config when App is in install mode 2018-07-16 19:38:13 -04:00
Hypolite Petovan 46b34574d9 Update support for daemon pidfile config 2018-07-16 19:38:13 -04:00
Hypolite Petovan 3985a4bc43 Remove extraneous dba::connect calls 2018-07-16 19:38:13 -04:00
Hypolite Petovan decfc553f7 Set BaseObject::setApp in App 2018-07-16 19:38:13 -04:00
Hypolite Petovan e952d6677b Rename App->path to App->urlpath 2018-07-16 19:38:13 -04:00
Hypolite Petovan 5fdff3d813 Centralize startup steps in Friendica\App
- Add loadDatabase startup step
- Add loadConfigFiles startup step
- Remove startup() in boot.php
- Replace App::checkMaintenanceMode() with App::determineMode()
2018-07-16 19:38:13 -04:00
Hypolite Petovan 2503660f97 Add new INI config files
- Add new local.ini.tpl template
- Change all references from .htconfig.php to config/local.ini.php
2018-07-16 19:38:13 -04:00
Hypolite Petovan 7c17d2026f Add config/local.ini.php to gitignore 2018-07-16 19:38:13 -04:00
Hypolite Petovan 7d8c45dde8 Remove dependency to App in dba::connect
- Remove timing (can be done centrally)
- Add charset parameter to dba::connect and dba::reconnect
2018-07-16 19:38:13 -04:00
rebeka-catalina e0ecbd0b95 typo correction of try_files directive (#5387) 2018-07-16 02:53:50 -04:00
Tobias Diekershoff 19aecb952d
Merge pull request #5386 from annando/dfrn-unknown-owner
Don't accept posts from unknown owners
2018-07-16 08:50:55 +02:00
Michael 95fe08e5b9 Ensure that "follow" requests can be processed 2018-07-16 06:34:12 +00:00
Michael 78c9e29aa8 Don't accept posts from unknown owners 2018-07-16 05:48:51 +00:00
Tobias Diekershoff 92104d7b85
Merge pull request #5384 from annando/item-uri
Fix for missing username in uri for comments to public posts
2018-07-16 06:45:41 +02:00
Tobias Diekershoff 70c5cc8f3c
Merge pull request #5385 from annando/public-items
Fix for displaying public items
2018-07-16 06:44:50 +02:00
Michael 0e8fa34156 Fix for displaying public items 2018-07-16 04:00:57 +00:00
Michael 988a868f90 Fix for missing username in uri for comments to public posts 2018-07-16 03:56:36 +00:00
Michael Vogel d3a2ed85fe Next item structure works (#5380)
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.

* New conversion routine that now covers every item

* Post update is now activated

* We now use a hash based upon RIPEMD-320 for content and activity

* The hash doesn't contain the plink anymore

* Legacy item fields are now "null"able

* New hash function for a server unique item hash

* Introduction of the legacy mode (usage of old item fields)

* Code simplification

* We don't need the "uri" fields anymore in item-activity and item-content

* Use the "created" and not the "received" date for the hash

* Avoiding several notices

* Some more warnings removed

* Improved uri-hash / Likes on Diaspora are now getting a creation date

* Corrected the post update version

* Ensure an unique uri-hash

* Don't delete orhaned item data at the moment

* Partly reworked, due to strange behaviour

* Some more parts reworked

* Using the uri currently seems to be more reliable

* Using the uri here as well

* Use the hash values again

* Grouped item fields in different categories

* Notices again

* use the gravity (we always should)

* Added hint for disabled post updates

* Notices ...

* Issue #5337: Personal notes are displayed again

* Use the gravity again
2018-07-15 14:36:20 -04:00
Michael Vogel 8ad6b65aeb
Merge pull request #5372 from MrPetovan/task/add-mastodoncustomemojis-addon
Add mastodoncustomemojis support
2018-07-15 16:31:13 +02:00
Hypolite Petovan 796056a6fe Improve Addons documentation 2018-07-15 08:03:12 -04:00
Hypolite Petovan ffc8b2a79a Rework smilies class and module
- Add new replaceFromArray function to enable smilies replacement with
an arbitrary array
- Moved $sample logic from class to module
2018-07-15 08:03:12 -04:00
Hypolite Petovan 065d10e587 Fix function comments in Util\Network 2018-07-15 08:03:12 -04:00
Hypolite Petovan a6eae9adec Add new put_item_in_cache hook in include/text 2018-07-15 08:03:12 -04:00
Michael Vogel d7dc1f6d27
Merge pull request #5370 from MrPetovan/develop
[ImgBot] optimizes images
2018-07-15 13:37:23 +02:00
miqrogroove b5fe1c60a9 Fix Broken Profile Links (#5286)
* Expose the block_public setting to head.tpl

* Do not include hovercard.js if block_public
2018-07-14 16:31:46 -04:00
Jeroen De Meerleer 678efab1c9 Add worker queue details (#5375)
* Added Worker queue page

* Added worker queue template

* Added translation strings

* Added en-US translation

* #TGWHT: Thank god we have Typo

* Where donkey == true

* Added in to menu correctly

* Updated link in summary page

* Updated link on summary page for frio theme

* Updated q() to dba::select()

* Revert "Added translation strings"

This reverts commit f1f3694a2412f69c39559650759b6483013f0f17.

* Revert "Added en-US translation"

This reverts commit 61777489e3add56e81c4f976599d8a2e025265cb.
2018-07-14 14:01:17 -04:00
Tobias Diekershoff 8aee795b45 regen master messages.po (#5376) 2018-07-14 13:18:50 -04:00
Tobias Diekershoff e95eca05c5 docs for explicit content (#5374) 2018-07-14 13:12:43 -04:00
Tobias Diekershoff 80ac7da01d admins can mark their nodes for explicit content (#5373)
* added field explicidContent to the metadata in the nodeinfo

* admins can mark their nodes for explicit content

* booleans shall be small
2018-07-14 12:08:06 -04:00
Hypolite Petovan 6cf50a14fa
Merge pull request #16 from MrPetovan/imgbot
[ImgBot] optimizes images
2018-07-14 02:22:52 -04:00