Commit graph

5387 commits

Author SHA1 Message Date
fabrixxm
5a07afbc14 Use direct logic 2019-04-10 20:57:22 +02:00
fabrixxm
47aa9daf5a Tweak storage selection in admin page
Don't call `StorageManager::setBackend()` on save when legacy is selected,
dont't show legacy option in selectbox after backend is changed from legacy
2019-04-10 08:40:50 +02:00
318a3ca785
Create own base URL class which holds the whole base url business logic 2019-04-09 08:31:16 +02:00
46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
1db0a29291 beautification of pleroma stats 2019-04-05 06:39:34 +02:00
b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04:00
06175ede1e
forgot admin setting 2019-03-24 22:58:36 +01:00
23654ce566
Added Update checks
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
fa31bb6dde
remove basepath and hostname from admin panel and add update path 2019-03-24 13:47:31 +01:00
083820b107 Moving mod/feedtest to src/Module/Feedtest 2019-03-22 22:55:49 -04:00
78d0d6e6e1 Moving mod/filer to src/Module/Filer 2019-03-22 22:55:47 -04:00
a876f132bd Moving mod/credits to src/Module/Credits 2019-03-22 22:55:46 -04:00
25a7086fc5 moving mod/apps to src/Module/Apps 2019-03-22 22:28:12 -04:00
7e2e2f425e Check that provided class implements IStorage in StorageManager::setBackend
- Add notice in admin if setting value change failed
- Add notice in console if setting value change failed
2019-03-19 22:42:44 -04:00
cd1fc091cb Only remove when "acct:" is the beginning 2019-03-14 21:18:07 +00:00
09b6978e4c Oeertube or Peertube? The last one sounds better :-) 2019-03-14 20:08:38 +00:00
33ffabcca7 Issue 6874: Allow remote follow via Peertube 2019-03-14 19:45:51 +00:00
db3f884a3e Remove item query limit when using file param in mod/network
- Only mark items as seen on regular network page
2019-03-09 18:36:11 -05:00
60c8668aca Add defaults() to url parameter in mod/follow
- Add error redirection to /contact when url param is empty
- Addresses part of https://github.com/friendica/friendica/issues/6338#issuecomment-470681556
2019-03-08 21:53:44 -05:00
efdb6634a2 Add defaults() to term parameter in mod/filerm
- Addresses part of https://github.com/friendica/friendica/issues/6338#issuecomment-470681556
2019-03-08 21:51:23 -05:00
3127fd6be6 Check $profile variable in mod/match
- Addresses https://github.com/friendica/friendica/issues/6337#issuecomment-470733015
2019-03-07 18:42:49 -05:00
f2560c42d1 Reduce the default maximum load for the worker to 20 2019-03-02 18:41:12 +00:00
748a0ca21b Fix allow_cid variable type in mod/network
- Improve SQL query for network contacts
- Add missing query statement closure
- Addresses https://github.com/friendica/friendica/issues/6337#issuecomment-467111446
2019-03-02 09:28:37 -05:00
fe8d5abe0a Replace strong by title format for item title in mod/share 2019-02-27 20:59:39 -05:00
Michael Vogel
efe358c617
Merge pull request #6746 from nupplaphil/issue/6338-notices
Fixing notices
2019-02-24 15:44:54 +01:00
Michael Vogel
fa5525d084
Merge pull request #6726 from MrPetovan/task/6676-fix-implicit-mentions
Fix last batch of implicit mentions issues
2019-02-24 15:40:11 +01:00
fe74db6311
Fixing https://github.com/friendica/friendica/issues/6338#issuecomment-458030934 2019-02-24 15:15:25 +01:00
Michael Vogel
df5ea1fab0
Merge pull request #6732 from MrPetovan/bug/1777-fix-blocked-contact-group
Allow to remove blocked contact from groups
2019-02-24 14:30:36 +01:00
102c44e8ee Fix typo in mod/profiles 2019-02-23 18:11:48 -05:00
486de602ff Delete mod/contactgroup and mod/group files 2019-02-23 17:32:41 -05:00
67aa188830 Improve Logger calls
- Add context in various calls
- Remove deprecated Logger::log call in Processor
2019-02-23 17:32:13 -05:00
c7dfc88c6c Add implicit mention gathering in local posts
- Rename $parent_item to $toplevel_item in item_post()
- Add $thread_parent_id variable to distinguish from $parent_item
- Add item_add_implicit_mentions() function
2019-02-23 17:32:12 -05:00
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
45cc8180b1
Return 404 if nodeinfo isn't enabled. 2019-02-23 10:10:33 +01:00
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
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
061d959e7f Code cleanup 2019-02-17 18:55:17 +00:00
f6e8246e75 Ensure that "strtotime" returns the correct timestamp 2019-02-12 06:42:45 +00:00
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
3ab7940b8e
Merge pull request #6622 from annando/community-speed
Improve speed on local community page
2019-02-10 08:06:37 +01:00
5edc498d41 Improve speed on local community page 2019-02-10 06:37:31 +00:00
81ef96fd16 Fix for possible notice "Undefined offset: 0" 2019-02-10 06:04:11 +00:00
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
171cfe8f44 Furtner improval of the worker speed 2019-02-09 23:10:15 +00:00
6577b1abb0 Add alias field to mod/crepair
- Replace deprecated q() call by DBA::update
2019-02-08 22:38:23 -05:00
066ad8c01b Add PortableContact constants
- Fix typo in mod/admin
- Replace deprecated Logger::log calls
2019-02-08 08:38:13 -05:00
38ac615ba0
Merge pull request #6577 from rabuzarus/20190129_-_jot_atachment_preview
Attachement live preview
2019-02-07 08:43:49 -05:00
01b7a3976f
Merge pull request #6593 from tobiasd/20190206-can
Storage Backend: wording of admin panel help
2019-02-06 11:18:53 -05:00
a675bd5fa4 clarification 2019-02-06 17:15:14 +01:00
a0b14a46cb
Merge pull request #6581 from nupplaphil/config_refact
Config Refactoring
2019-02-06 09:57:41 -05:00
9f7fdb1bff Storage Backend: wording of admin panel help 2019-02-06 07:35:57 +01:00
40d8b04795
using Config::get (automatically use the right cache) 2019-02-05 23:09:57 +01:00
87acace660
removing code for now 2019-02-05 23:06:28 +01:00
b654784396 File storage options, naming of the default option and EN docs 2019-02-05 16:30:46 +01:00
3c62a7206e Improve Markdown::convert panel display in mod/babel 2019-02-04 21:46:34 -05:00
1e0e1674f2
4) Adding Factories to other entrypoints 2019-02-03 22:46:50 +01:00
4af0119b73
3) Introducing ConfigFactory 2019-02-03 22:22:04 +01:00
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
f0ec729466 Remove mod/profile.php 2019-01-30 08:07:31 -05:00
0615c8438a Add new Module\Profile class
- Update reference to legacy module function profile_content
2019-01-30 08:07:20 -05:00
cb72a5fd3b look in the config directory for the file 2019-01-30 10:40:28 +01:00
b26d09d62b warn in admin panel when legacy config is used 2019-01-30 07:09:47 +01:00
bd031d0b87 Add result window for item tags in mod/babel 2019-01-29 20:39:38 -05:00
e6dccc42e4 [frio] Fix help TOC display 2019-01-29 08:51:02 -05:00
0c12d8af5f Rename conflicted variable $info in admin settings 2019-01-28 21:45:43 -05:00
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
bfc0729752 Use new log levels in admin log settings page 2019-01-23 09:07:01 -05:00
724c4fb94d Fix output of /friendica/json for invite only and approval registration policy 2019-01-22 22:24:46 -05:00
a1b773e149 Cleanup register artifacts
- Remove mod/register
- Remove REGISTER_* constants
2019-01-22 22:24:46 -05:00
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
0cc1a07cfa Fix default value of contact parameter of OStatus::import in mod/salmon 2019-01-22 08:53:53 -05:00
169e9b0fc5 add comment about the PATH 2019-01-22 13:44:49 +01:00
31fedf359d restore THEMEPATH variable in mod/view 2019-01-22 10:36:42 +01:00
b161bd1dfa Improve get_responses() prototype 2019-01-21 11:37:05 -05:00
aa0d464264 Revert unwarranted selectFirstForUser change in mod/display 2019-01-21 11:12:53 -05:00
182bffcc6b Fix wrong git-fu in mod/directory 2019-01-21 11:12:51 -05:00
57ab858486 Fix calls to DBA::select missing parameters 2019-01-21 11:12:50 -05:00
abe60f0f9a Fix call to Contact::content in mod/update_contact 2019-01-21 11:12:49 -05:00
e95ad45de5 Fix logic in mod/hovercard 2019-01-21 11:12:49 -05:00
9f75adf015 Fix item retrieval logic in mod/display 2019-01-21 11:12:49 -05:00
8a5ef2b6f4 Replace deprecated calls to q() in mod/fsuggest and mod/photos 2019-01-21 11:12:48 -05:00
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
45ada943b4 Update missing namespace uses in mod/
- Update missing constant moves in mod/
2019-01-21 10:56:28 -05:00
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
ad9c67663d Move Contact::Page_* constants to User::PAGE_FLAGS_* 2019-01-21 10:55:37 -05:00
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
0c4f8277e6 Update namespace in mod/view 2019-01-21 10:45:37 -05:00
c5cb976b62 Update PHPDoc in include/ 2019-01-21 10:44:46 -05:00
14e4ab544a Update namespace use calls in mod/ 2019-01-21 10:44:21 -05:00