Commit graph

5354 commits

Author SHA1 Message Date
Hypolite Petovan 8c1db51a76 Improve Logger calls
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
Philipp Holzer 45cc8180b1
Return 404 if nodeinfo isn't enabled. 2019-02-23 10:10:33 +01:00
Hypolite Petovan 4375edd63e
Merge pull request #6719 from annando/worker-scheduler
New scheduler mechanism - now to the correct branch
2019-02-21 16:12:19 -05:00
Roland Häder 9fa812b35d
Rewrites:
- converted single-line if() block to multi-line and with curly braces
- "imported" SPL classes to have unified code style
- always initialize your variables ... :-/
- added some empty lines/spaces for better readability

Signed-off-by: Roland Häder <roland@mxchange.org>
2019-02-19 01:56:41 +01:00
rabuzarus 3ba7907b57 forumdirectory: type is array 2019-02-18 13:27:26 +01:00
rabuzarus 2b7c331afb forumdirectory: some polishing 2019-02-18 13:03:21 +01:00
rabuzarus 85f0508494 own function for processing data of directory entries 2019-02-18 03:00:10 +01:00
Michael 061d959e7f Code cleanup 2019-02-17 18:55:17 +00:00
Michael f6e8246e75 Ensure that "strtotime" returns the correct timestamp 2019-02-12 06:42:45 +00:00
Hypolite Petovan d6a82c6c2d
Merge pull request #6638 from Ixiter/develop-markdown-anchors
ACL network - fixed preselected acl items
2019-02-11 07:23:32 -05:00
Peter Liebetrau 3dede5dbd2 ACL network - fixed preselected acl items 2019-02-11 10:00:42 +01:00
Tobias Diekershoff 3ab7940b8e
Merge pull request #6622 from annando/community-speed
Improve speed on local community page
2019-02-10 08:06:37 +01:00
Michael 5edc498d41 Improve speed on local community page 2019-02-10 06:37:31 +00:00
Michael 81ef96fd16 Fix for possible notice "Undefined offset: 0" 2019-02-10 06:04:11 +00:00
Hypolite Petovan b2c2971551
Merge pull request #6619 from annando/worker-again
Furtner improval of the worker speed
2019-02-09 19:50:35 -05:00
Michael Vogel c7308d98fa
Merge pull request #6614 from MrPetovan/task/6552-add-explicit-mentions
Add explicit mentions to ActivityPub/Diaspora comments
2019-02-10 00:52:40 +01:00
Michael 171cfe8f44 Furtner improval of the worker speed 2019-02-09 23:10:15 +00:00
Hypolite Petovan 6577b1abb0 Add alias field to mod/crepair
- Replace deprecated q() call by DBA::update
2019-02-08 22:38:23 -05:00
Hypolite Petovan 066ad8c01b Add PortableContact constants
- Fix typo in mod/admin
- Replace deprecated Logger::log calls
2019-02-08 08:38:13 -05:00
Hypolite Petovan 38ac615ba0
Merge pull request #6577 from rabuzarus/20190129_-_jot_atachment_preview
Attachement live preview
2019-02-07 08:43:49 -05:00
Hypolite Petovan 01b7a3976f
Merge pull request #6593 from tobiasd/20190206-can
Storage Backend: wording of admin panel help
2019-02-06 11:18:53 -05:00
Tobias Diekershoff a675bd5fa4 clarification 2019-02-06 17:15:14 +01:00
Hypolite Petovan a0b14a46cb
Merge pull request #6581 from nupplaphil/config_refact
Config Refactoring
2019-02-06 09:57:41 -05:00
Tobias Diekershoff 9f7fdb1bff Storage Backend: wording of admin panel help 2019-02-06 07:35:57 +01:00
Philipp Holzer 40d8b04795
using Config::get (automatically use the right cache) 2019-02-05 23:09:57 +01:00
Philipp Holzer 87acace660
removing code for now 2019-02-05 23:06:28 +01:00
Tobias Diekershoff b654784396 File storage options, naming of the default option and EN docs 2019-02-05 16:30:46 +01:00
Hypolite Petovan 3c62a7206e Improve Markdown::convert panel display in mod/babel 2019-02-04 21:46:34 -05:00
Philipp Holzer 1e0e1674f2
4) Adding Factories to other entrypoints 2019-02-03 22:46:50 +01:00
Philipp Holzer 4af0119b73
3) Introducing ConfigFactory 2019-02-03 22:22:04 +01:00
Philipp Holzer be6b229534
1) Refactor App->config[] into Core\Config 2019-02-03 18:54:25 +01:00
rabuzarus ba03ec857a attachment preview: some small corrections 2019-02-03 16:26:13 +01:00
rabuzarus a6322b1c4e attachment preview: some backend work in the item module:
- convert attachment to bbcode and
- add the attachment bbcode to the item body
2019-02-01 23:42:36 +01:00
rabuzarus 07d1932efc attachment preview: frontend work (works with frio) 2019-02-01 19:18:08 +01:00
Hypolite Petovan f0ec729466 Remove mod/profile.php 2019-01-30 08:07:31 -05:00
Hypolite Petovan 0615c8438a Add new Module\Profile class
- Update reference to legacy module function profile_content
2019-01-30 08:07:20 -05:00
Tobias Diekershoff cb72a5fd3b look in the config directory for the file 2019-01-30 10:40:28 +01:00
Tobias Diekershoff b26d09d62b warn in admin panel when legacy config is used 2019-01-30 07:09:47 +01:00
Hypolite Petovan bd031d0b87 Add result window for item tags in mod/babel 2019-01-29 20:39:38 -05:00
Hypolite Petovan e6dccc42e4 [frio] Fix help TOC display 2019-01-29 08:51:02 -05:00
Hypolite Petovan 0c12d8af5f Rename conflicted variable $info in admin settings 2019-01-28 21:45:43 -05:00
Michael 5ded967129 Fix database error 2019-01-27 19:54:08 +00:00
Aditoo17 0564e710f0
Replace help/guide with help/Quick-Start-guide 2019-01-26 10:51:20 +01:00
Hypolite Petovan bfc0729752 Use new log levels in admin log settings page 2019-01-23 09:07:01 -05:00
Hypolite Petovan 724c4fb94d Fix output of /friendica/json for invite only and approval registration policy 2019-01-22 22:24:46 -05:00
Hypolite Petovan a1b773e149 Cleanup register artifacts
- Remove mod/register
- Remove REGISTER_* constants
2019-01-22 22:24:46 -05:00
Hypolite Petovan cef6757c92 Replace REGISTER_* constants by Module\Register::* ones 2019-01-22 22:24:15 -05:00
Michael Vogel 73a81290ff
Merge pull request #6487 from MrPetovan/bug/critical-fixes-after-develop-rebase
Critical fixes after develop rebase
2019-01-22 15:45:33 +01:00
Hypolite Petovan 0cc1a07cfa Fix default value of contact parameter of OStatus::import in mod/salmon 2019-01-22 08:53:53 -05:00
Tobias Diekershoff 169e9b0fc5 add comment about the PATH 2019-01-22 13:44:49 +01:00
Tobias Diekershoff 31fedf359d restore THEMEPATH variable in mod/view 2019-01-22 10:36:42 +01:00
Hypolite Petovan b161bd1dfa Improve get_responses() prototype 2019-01-21 11:37:05 -05:00
Hypolite Petovan aa0d464264 Revert unwarranted selectFirstForUser change in mod/display 2019-01-21 11:12:53 -05:00
Hypolite Petovan 182bffcc6b Fix wrong git-fu in mod/directory 2019-01-21 11:12:51 -05:00
Hypolite Petovan 57ab858486 Fix calls to DBA::select missing parameters 2019-01-21 11:12:50 -05:00
Hypolite Petovan abe60f0f9a Fix call to Contact::content in mod/update_contact 2019-01-21 11:12:49 -05:00
Hypolite Petovan e95ad45de5 Fix logic in mod/hovercard 2019-01-21 11:12:49 -05:00
Hypolite Petovan 9f75adf015 Fix item retrieval logic in mod/display 2019-01-21 11:12:49 -05:00
Hypolite Petovan 8a5ef2b6f4 Replace deprecated calls to q() in mod/fsuggest and mod/photos 2019-01-21 11:12:48 -05:00
Hypolite Petovan 7f2dc40601 Fix potential bugs without expected behavior change
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
Hypolite Petovan 45ada943b4 Update missing namespace uses in mod/
- Update missing constant moves in mod/
2019-01-21 10:56:28 -05:00
Hypolite Petovan 3d839bb176 Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
Hypolite Petovan ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
Hypolite Petovan dbc6eb5422 Remove unused code in mod/
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
2019-01-21 10:53:32 -05:00
Hypolite Petovan 0c4f8277e6 Update namespace in mod/view 2019-01-21 10:45:37 -05:00
Hypolite Petovan c5cb976b62 Update PHPDoc in include/ 2019-01-21 10:44:46 -05:00
Hypolite Petovan 14e4ab544a Update namespace use calls in mod/ 2019-01-21 10:44:21 -05:00
Hypolite Petovan 070aa016e0 Update more PHPDoc, including in include/ 2019-01-21 10:39:28 -05:00
Hypolite Petovan af9067a381 Update PHPDoc in mod/ 2019-01-21 10:39:27 -05:00
Philipp Holzer 2e602afd3e Add Monolog 2019-01-21 10:10:40 -05:00
fabrixxm 518f28a7bf Small fixes
- Avoid an intermediate variable
- Use `rawContent()` in `Attach` module
- Small typo
2019-01-21 10:08:09 -05:00
Hypolite Petovan 2f49c4a058 Revert "Add monolog" 2019-01-21 10:08:09 -05:00
fabrixxm 14622c4bfd Use more Attach model 2019-01-21 10:00:47 -05:00
fabrixxm 19b55f5f8d Use Attach model while deleting in video tab 2019-01-21 10:00:46 -05:00
fabrixxm 906b7841d4 Fix Attach model store() and storeFile() 2019-01-21 10:00:45 -05:00
fabrixxm b7b3086263 Attach: store, update, delete. Model and views 2019-01-21 10:00:44 -05:00
fabrixxm fc2b804ccc Move mod/attach to src, add Attach model, update attach table to use storage backends 2019-01-21 10:00:44 -05:00
Philipp Holzer ff162dfef2 Replacing log usage 2019-01-21 09:59:09 -05:00
Philipp Holzer fe8f0e0045 Add Monolog 2019-01-21 09:58:05 -05:00
Hypolite Petovan 55e54bb950 Replace deprecated Addon::callHooks with Hook::callAll
- Update documentation
2019-01-21 09:50:56 -05:00
Hypolite Petovan 895b3abf32 Remove/replace killme() with *exit() 2019-01-21 09:49:17 -05:00
Jeroen De Meerleer 5cb56a6b12 Fixes some more things 2019-01-21 09:45:37 -05:00
Hypolite Petovan a3c1beb265 Replace rogue instance of "contacts" by "contact" (#5891) 2019-01-21 09:33:25 -05:00
Hypolite Petovan dea1a98a5d Fix various documentation issues/unused variables 2019-01-21 09:33:24 -05:00
fabrixxm 204c5a4d99 Don't try to save form for "None" backend. 2019-01-21 09:12:32 -05:00
fabrixxm 3f03f3b4b7 Don't try to build form for "None" backend.
Fix #6266
2019-01-21 09:12:32 -05:00
fabrixxm 55292c954b Remove resourceid parameter from Photo::exists() 2019-01-21 09:12:29 -05:00
fabrixxm 8c75c26361 Use Model\Photo as much as possible
Most important is to use `Photo::delete()` to have backend
to remove data.
2019-01-21 09:12:28 -05:00
fabrixxm fdc6608af8 Add storage options form in admin/site page 2019-01-21 09:11:39 -05:00
fabrixxm 6f59c82978 Code standards 2019-01-21 09:10:46 -05:00
fabrixxm 3e13799e70 Add update() to Photo model
Edit mod/photos.php to use Photo model
2019-01-21 09:10:45 -05:00
fabrixxm 76579e02cc profile_photo: use Photo model function to get photo and image 2019-01-21 09:02:57 -05:00
fabrixxm 3ca0b0bf9d photos: use model delete() to delete photos 2019-01-21 09:02:56 -05:00
fabrixxm b96dbcd4cb Move Photo module, update Photo model 2019-01-21 08:40:47 -05:00
Hypolite Petovan f4502af239 Fix docblock in mod/admin.php 2019-01-19 22:04:01 -05:00
Hypolite Petovan 6aa0899d67 Move theme selection to init() in mod/admin 2019-01-19 21:53:17 -05:00
rabuzarus 7b78ba3929 Bugfix - use magicLinks also for common/all friends and the directory 2019-01-19 15:12:46 +01:00
Michael d8d72083c0 Google+ will be history soon, so we remove the first traces 2019-01-18 06:58:23 +00:00
Michael 3c1635c45f Solves redirect error message 2019-01-13 18:16:26 +00:00
Michael 28f14c7d60 Don't show deleted contacts, changed "pending" behaviour 2019-01-12 13:28:14 +00:00