1
0
Fork 0
Commit graph

5889 commits

Author SHA1 Message Date
Philipp Holzer
52c42491c4
Move activity_match() to Protocol\Activity::match()
- With tests
2019-10-23 02:05:11 +02:00
Philipp Holzer
5843a80b6c
Move perms2str to ACLFormatter::aclToString()
- including new tests
2019-10-23 00:54:34 +02:00
Philipp Holzer
f65f7f11c3
Move expand_acl to ACLFormatter::expand()
- including tests
2019-10-23 00:40:14 +02:00
Philipp Holzer
2870f42ca2
Move bb_translate_video
- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
2019-10-23 00:14:47 +02:00
Philipp Holzer
7f49c73730
Move undo_post_tagging to mod/editpost because of the only occurrence 2019-10-22 23:57:44 +02:00
Philipp Holzer
17aca9bee8
move mod/ignored to src/Module/Item/Ignored 2019-10-21 21:19:28 +02:00
Philipp Holzer
2a41f0b104
wrong field 2019-10-21 11:34:47 +02:00
Philipp Holzer
cbc48a4fd4
Fix parameter 2019-10-20 13:23:13 +02:00
Philipp Holzer
7716374593
Move mod/receive to src/Module/Diaspora/receive
- Added routes
- Make Diaspora::decode(Raw) more explicit
- Add new User::getByGuid() method
2019-10-20 13:07:16 +02:00
e3915d2f93 Prevent empty [url] label regular expression to break image insertion 2019-10-16 13:53:16 -04:00
Philipp
b0967ffd02
Merge pull request #7742 from MrPetovan/task/7190-remove-defaults-mod
Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/
2019-10-15 18:07:53 +02:00
2db6171641 Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/ 2019-10-15 09:01:17 -04:00
c07cb2c8f3
Merge pull request #7738 from annando/clean-url
Convert links with empty descriptions
2019-10-13 20:11:28 -04:00
5875830d1e Convert links with empty descriptions 2019-10-13 15:52:33 +00:00
02f02d44dc Move mod/manage to src/Module/Delegation
- Move templates/manage to templates/delegation
- Update navigation links
- Update CSS classes
2019-10-11 19:59:06 -04:00
27eaffd7fb
Merge pull request #7725 from dew-git/develop
Fix security vulnerabilities.
2019-10-11 14:48:07 -04:00
46172b641d moved UExport to src/Module/Settings/Uexport 2019-10-11 07:38:42 +02:00
fb562fc25b removed mod/uexport file 2019-10-11 07:36:41 +02:00
dew-git
811cdcdfcb Fix security vulnerbilities.
Fix possible length extension attack, predicable generators, timing attacks on hash comparision and improved formatting.
2019-10-10 15:21:41 -08:00
57a749af38 Add required use statement in mod/subthread 2019-10-10 13:12:27 -04:00
Philipp
cf4bae26c7
Merge pull request #7720 from MrPetovan/task/4090-move-delegate-to-src
Move mod/delegate to src/Module/Settings/Delegation
2019-10-10 10:24:15 +02:00
616edd0600 Move mod/delegate to src/Module/Settings/Delegation
- Move templates/delegate to templates/settings/delegation
2019-10-09 22:17:09 -04:00
1e737ae888 Move mod/search to src/Module/Search/Index
- Update BaseSeachModule not to depend on a single query string parameter
2019-10-07 14:27:46 -04:00
22598fc7e8 Improve search box
- Use new saved search module
- Use dynamic search option loop
- Use "q" instead of "search" for search query string parameter
2019-10-07 14:27:46 -04:00
cdefa7f32a Add new module and widget for managing saved searches 2019-10-07 14:27:46 -04:00
f4d06ebd47 Remove useless theme session variable deletions in modules 2019-10-06 12:08:15 -04:00
e5fbaf6a00 Add Session::clear method
- Replace manual session clear by method in mod/manage
2019-10-06 11:21:54 -04:00
8f20e2054b Move /acl module to src/
- Move Core\ACL::contactAutocomplete to Module\Search\Acl
- Rename module path to /search/acl
2019-10-03 22:40:42 -04:00
185f1fc687
Merge pull request #7636 from annando/manage
Restructured "manage" functionality, added count parameters
2019-09-30 11:12:46 -04:00
2333526b8a
Merge pull request #7678 from annando/remote-rework
Reworked the remote authentication
2019-09-30 09:18:43 -04:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
d41399496e Merge remote-tracking branch 'upstream/develop' into manage 2019-09-30 06:30:13 +00:00
0d7c79d051 Using central function to set the "remote" session value 2019-09-30 06:29:00 +00:00
0185c91246 Merge remote-tracking branch 'upstream/2019.09-rc' into remote-rework 2019-09-29 06:32:35 +00:00
Michael Vogel
4e9a810206 Fix magic auth for redirects with non profile paths 2019-09-29 02:16:09 +02:00
23bad85847 Ensure to fetch the correct item 2019-09-28 20:43:45 +00:00
83b00ef308 New function "isAuthenticated" 2019-09-28 18:09:11 +00:00
89f02a1125 Fix warnings 2019-09-28 15:31:36 +00:00
1c26baec46 remote_user is replaced 2019-09-28 09:59:08 +00:00
6e9026e033 Renamed function, beginning to replace the "remote_user" function 2019-09-28 09:36:41 +00:00
1ddd2df4b8 Removed obsolete code 2019-09-28 05:37:24 +00:00
3dd94355b7 Fix permissions when viewing photos, applying same fix to items as well 2019-09-27 05:49:23 +00:00
ec66553032 Reworked "remote" cookie handling 2019-09-25 22:24:17 +00:00
6a376c29d8 Fix session size problems 2019-09-25 05:57:32 +00:00
08f30e1769 Fix notice 2019-09-24 21:51:08 +00:00
5254147ccc Fix "redir" loop 2019-09-23 22:13:20 +00:00
aba23daeca Get rid of zombie introductions that reappear automatically 2019-09-22 10:51:34 +00:00
118e737a49 Remove dependency to App object in Temporal::getDateofBirthField 2019-09-21 05:15:52 -04:00
9e7467f8f9 Added to-do 2019-09-18 05:56:06 +00:00
1144863090 Changed "hidewall" behaviour 2019-09-18 05:20:33 +00:00
8237d35a87 Restructured "manage" functionality, added count parameters 2019-09-17 04:05:26 +00:00
d2707a0e15 Added some help text about influence on search engines 2019-09-14 19:14:52 +02:00
32707022bf Remove GET page parameter access from Core\ACL 2019-09-13 20:06:57 -04:00
f71abb30ca Issue 3229: Switched to other function to receive the identity 2019-09-11 16:46:13 +00:00
57e4b9f806 Issue 7610: Set the appropriate meta header to not being crawled 2019-09-10 17:15:29 +00:00
323285216b We have to check for "0" in "rel" as well 2019-09-09 20:39:19 +00:00
f185f6fd3d Pending contacts part 2: Fix contact deletion / added cron job for repairs 2019-09-09 20:03:11 +00:00
91b0f0465f
Merge pull request #7604 from annando/pending-contacts
Display pending contacts in the contact list
2019-09-09 13:49:51 -04:00
2dbd843ed2 Don't display ignored pending contacts, link to contact request page 2019-09-09 05:29:33 +00:00
c2c3bb2074 Remove deprecated defaults() call in mod/events 2019-09-06 08:33:41 -04:00
d7a8417941 Fix fatal error for empty parameter for "System::removedBaseUrl" 2019-09-04 21:11:58 +00:00
Michael Vogel
35a487ae30 Don't fork worker on frontend by default 2019-08-08 22:42:12 +02:00
3e2f0e9ffa Feedback changes
- Import namespaces in mod/community
- Fix alignment in Content\Feature
- Add phpDoc to Widget\TrendingTags
2019-08-06 07:37:48 -04:00
c399e40618 Add trending_tags additional feature + usage in mod/community 2019-08-06 07:09:04 -04:00
3053cde210 Typo in setting description 2019-08-05 18:07:43 +02:00
1b7f96dac8 Partly reverted, real problem fixed 2019-08-04 04:29:52 +00:00
e5321ecc7f
Merge pull request #7458 from annando/fix-7449
Fix issue 7449: Image permissions are now set like before
2019-08-02 13:26:57 -04:00
d95ef96cca Fix issue 7449: Image permissions are now set like before 2019-08-02 16:38:50 +00:00
Michael Vogel
e8459cce34
Merge pull request #7381 from MrPetovan/task/7309-frio-compose
[frio] New Compose page
2019-08-01 08:15:02 +02:00
b4c673a620 We now use a central function for fetching the postdata 2019-07-30 22:26:01 +00:00
0579252362 Add user meta-groups for followers and mutual contacts
- Both Group::expand and Item::enumeratePermissions now have a user id parameter to expand meta-groups
2019-07-29 20:31:46 -04:00
e745506c04
Replace removed Photo::select by new Photo::selectToArray in /photos 2019-07-29 13:38:55 -04:00
cfd2e7f686
Replace removed Photo::select by new Photo::selectToArray in /profile_photo 2019-07-29 13:37:54 -04:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry

- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
6df53624c7 Remove confusing extraneous success_update >= failure_update conditions 2019-07-20 13:34:08 -04:00
2f9e710f5c Fix reference non-existing "mobile-theme" field in user record 2019-07-20 12:14:20 -04:00
Michael Vogel
2aea286143
Merge pull request #7400 from MrPetovan/bug/7397-frio-settings-fallback
[frio] Theme settings fallback on node settings
2019-07-18 23:22:17 +02:00
13212e0d04 Added search 2019-07-18 06:37:33 +00:00
ac53ee8e0f Show node's theme as selected in display setting for new users 2019-07-17 23:08:26 -04:00
ada699536a Prevent users from forcibly installing a disabled theme in mod/settings 2019-07-17 23:08:03 -04:00
e247a14d2b Added the option to only receive top level posts from people you follow 2019-07-17 21:37:13 +00:00
19247b62ae Ensure $uid parameter of Feature::isEnabled to be an integer 2019-07-15 22:00:49 -04:00
5d5a10fb9c Only fetch toplevel posts when searching for hashtags on network page 2019-07-09 05:20:34 +00:00
b124c414dc Rewrite conditions for photo linked item to prevent crash on old photos
- Addresses https://github.com/friendica/friendica/issues/7297#issuecomment-509064260
2019-07-07 23:51:23 -04:00
6bb418c5a7 Use "received" instead of "created" when displaying posts in creation order 2019-07-07 21:30:33 +00:00
9b8b2b36cd
Merge pull request #7339 from annando/gcontact-update
Restructured Contact/GContact handling
2019-07-07 13:28:20 -04:00
f92752c9b4 Ensure $link_item variable type when calling get_responses() in mod/photos
- Addresses https://github.com/friendica/friendica/issues/7297#issuecomment-508622668
2019-07-05 13:40:33 -04:00
dda86f6dfc Basepath function now uses the contact field 2019-07-05 06:41:48 +00:00
6041f74df6 New constant for federated protocols 2019-07-01 18:00:55 +00:00
6cd6fa889b leading, trailing, all the same :-) 2019-06-29 20:09:23 +00:00
644c08a035 Issue 4815: Silently ignoring trailing @ at follow requests 2019-06-29 19:01:07 +00:00
9545ff614b Limit smilies replacement to BBCode::convert 2019-06-23 17:53:25 -04:00
b9ab613777 Merge branch 'master' into develop 2019-06-23 17:40:52 -04:00
c1f99c70b1 Merge branch '2019.06-rc'
# Conflicts:
#	CHANGELOG
#	VERSION
#	boot.php
2019-06-23 15:30:44 -04:00
289bcfa121 Fix receiving of DFRN posts with public envelope 2019-06-22 04:17:38 +00:00
Philipp
fb63274aaf
Merge pull request #7250 from MrPetovan/bug/6410-normalize-message-button
Normalize message button in profile sidebar
2019-06-12 17:56:05 +02:00
3aebb92cf3 Rework Profile::sidebar profile link conditions
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect
2019-06-10 21:56:03 -04:00
Philipp Holzer
7c54edd4b4
Fixing Network::post() caused by wrong argument 2019-06-10 19:34:16 +02:00
d7d44e1af7
Merge pull request #7245 from annando/unify-constants
Fix delivery counter for poking / unify delivery commands
2019-06-10 11:59:40 -04:00
41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters 2019-06-10 14:34:54 +02:00
44a49a8d7d Ensure that pokes are always send only via DFRN 2019-06-06 04:26:02 +00:00
f0de19dd8a
Merge pull request #7208 from nupplaphil/bug/6916-filetag
Adding null checks before FileTag method (fix fatal)
2019-05-31 01:47:52 -04:00
ac294be746
Merge pull request #7207 from nupplaphil/bug/6917-php_warnings
Add hexadecimal check (fix warnings)
2019-05-30 09:31:50 -04:00
Philipp Holzer
c76258c370
catching nulls for FileTag 2019-05-30 13:54:35 +02:00
Philipp Holzer
03ca26f0c4
Change fallback logic 2019-05-30 13:45:39 +02:00
Philipp Holzer
aa33a79e13
normal comparison 2019-05-30 13:38:00 +02:00
Philipp Holzer
4c5dd9f47c
Add more Strings::isHex() checks to photos 2019-05-30 10:30:15 +02:00
Philipp Holzer
e4a63bc219
Replace $_SESSION with Session::get() 2019-05-30 10:18:52 +02:00
Philipp Holzer
7334be803d
Bugfix - item_id 2019-05-29 21:40:21 +02:00
Philipp Holzer
392137b433
Adding hexadecimal check for parse_rul
see https://github.com/friendica/friendica/issues/6917#issuecomment-475461338
2019-05-29 20:32:16 +02:00
Philipp Holzer
3de540d1d1
Adding hexadecimal check for photos
see https://github.com/friendica/friendica/issues/6917#issuecomment-492798238
2019-05-29 20:28:25 +02:00
Philipp Holzer
e853e256c7
Checking all values for $_SESSION
See https://github.com/friendica/friendica/issues/6918#issuecomment-491492826
2019-05-29 20:07:22 +02:00
Philipp Holzer
3015135750
Adding fallback route in case of a non valid route
see https://github.com/friendica/friendica/issues/6918#issuecomment-491009954
2019-05-29 20:06:50 +02:00
Philipp
59bbb1ac99
Merge pull request #7203 from MrPetovan/bug/warnings
Fix condition in dfrn_request_content() when $a->profile isn't set
2019-05-29 07:06:06 +02:00
Philipp
9245942a0c
Merge pull request #7199 from MrPetovan/bug/7171-filer-network
Allow commas in saved folder names
2019-05-29 07:03:44 +02:00
8f4dbec696 Fix condition in dfrn_request_content() when $a->profile isn't set
See https://github.com/friendica/friendica/issues/6917#issuecomment-494087890
2019-05-28 21:14:21 -04:00
ed768c71ee Remove "f=&" nonsense from network module
- Fixes wrong redirect when using the sidebar filters
2019-05-27 17:45:27 -04:00
cd05d15b04 Replace build_querystring() by http_build_query() introduced in PHP 5 2019-05-27 17:40:12 -04:00
0fadc7730c Replace deprecated string-bases Model\FileTag calls with array-based ones 2019-05-27 17:40:08 -04:00
3c7e4b474b
Merge pull request #7193 from nupplaphil/bug/uimport_datetime
Fix NULL datetime for uimport/uexport
2019-05-27 09:13:01 -04:00
01e71254d9 Replace defaults() calls on $_SESSION by Core\Session calls
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Philipp Holzer
26d4214c19
added suggestions 2019-05-26 21:53:24 +02:00
Philipp Holzer
220f8f0862
friendica-6950 uimport doesn't support "pwdreset_time":null 2019-05-26 15:49:44 +02:00
Philipp Holzer
2652787460
friendica-7130 Edits of images not possible 2019-05-26 15:00:19 +02:00
d27d4d8927 Move posted date widget to Content\Widget 2019-05-25 19:08:15 -04:00
c65faecc8c Add current tab parameter to Model\Profile::getTabs 2019-05-20 15:09:33 -04:00
709eba6ce3 Move /viewcontacts to /profile/{nickname}/contacts[/{type}]
- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget
2019-05-20 14:50:09 -04:00
862159c712
Merge pull request #7165 from nupplaphil/task/mod_dirfind
Move mod/dirfind to src/Module/Search/Directory
2019-05-20 14:45:19 -04:00
0c9b76a585
Merge pull request #7173 from nupplaphil/task/mod_newmember
Move mod/newmember to src/Module/Welcome
2019-05-20 14:14:58 -04:00
Philipp Holzer
f97b72eb9f
Move mod/newmember to src/Module/Welcome 2019-05-20 20:12:20 +02:00
6f0c6e8926
Merge pull request #7160 from nupplaphil/task/mod_probe
Move mod/probe to src/Module/Probe
2019-05-19 15:06:13 -04:00
3ca64185a6
Merge pull request #7169 from annando/send-suggest
Sending contact suggestions does work again
2019-05-19 14:59:28 -04:00
Philipp
a758671a1b
Merge pull request #7154 from MrPetovan/task/refactor-widgets
Refactor widgets
2019-05-19 20:52:00 +02:00
a6cf036db2 Sending contact suggestions does work again 2019-05-19 17:59:37 +00:00
14d4132ad0 Fixed contact suggestion 2019-05-19 08:54:26 +00:00
Philipp Holzer
a7aae9603a
Split Directory Search as a base for further changes 2019-05-19 05:06:02 +02:00
Philipp Holzer
5b44fdc202
Split Directory Search as a base for further changes 2019-05-19 05:01:46 +02:00
Philipp Holzer
e00f110ef1
Move mod/dirfind to src/Module/DirFind 2019-05-19 04:28:16 +02:00
Philipp Holzer
48bba87abe
Move mod/probe to src/Module/Probe 2019-05-19 04:24:18 +02:00
7a13582c67
Merge pull request #7159 from nupplaphil/task/mod_notice
Move mod/notice to src/Module/Notice
2019-05-18 22:16:35 -04:00
ec5c123f41
Merge pull request #7163 from nupplaphil/task/mod_starred
Move mod/starred to src/Module/Starred
2019-05-18 22:16:21 -04:00
596e95917e
Merge pull request #7164 from nupplaphil/task/mod_randprof
Move mod/randprof to src/Module/RandomProfile
2019-05-18 22:16:06 -04:00
Philipp Holzer
82e271589f
Move mod/starred to src/Module/Starred 2019-05-19 03:07:44 +02:00
d3a4ed0111
Merge pull request #7162 from nupplaphil/task/mod_view
Move mod/view to src/Module/Theme
2019-05-18 21:07:27 -04:00
Philipp Holzer
9092cb1beb
Move mod/notice to src/Module/Notice 2019-05-19 02:53:31 +02:00
33ec3d8051
Merge pull request #7161 from nupplaphil/task/mod_toggle_mobile
Move mod/toggle_mobile to src/Module/ToggleMobile
2019-05-18 20:14:27 -04:00
30945784c3
Merge pull request #7157 from nupplaphil/task/mod_notify
Move mod/notify to src/Module/Notify
2019-05-18 17:49:01 -04:00
Philipp Holzer
8bb85b1da7
Move mod/randprof to src/Module/RandomProfile 2019-05-18 22:17:57 +02:00
Philipp Holzer
d1d7fa394a
Move mod/view to src/Module/View 2019-05-18 21:23:12 +02:00
Philipp Holzer
295d90d496
Move mod/toggle_mobile to src/Module/ToggleMobile 2019-05-18 21:13:19 +02:00
Philipp Holzer
2906a9031b
Removed mod/notify 2019-05-18 19:04:33 +02:00
Philipp Holzer
9f13ae6e73
Move mod/opensearch to src/Module/OpenSearch 2019-05-18 17:43:58 +02:00
71ae8d07a6 Refactor widgets
- Move widget templates to subfolder
- Add new generic filter widget templates to replace category, network and filer filters
- Update styles
2019-05-18 11:33:35 -04:00
8e885f5b97 Add two-factor authentication settings
- Add settings aside menu entry
- Add two-factor authentication documentation
2019-05-13 01:52:01 -04:00
6071fe81b4 Move Authentication::setAuthenticatedSessionForUser to Session::setAuthenticatedForUser 2019-05-13 01:51:59 -04:00
3785c6de05
[hotfix] Fix wrong Exception namespace 2019-05-07 11:56:25 -04:00
Philipp
7c62a4e02b
Merge pull request #7104 from annando/separated-confirm
The follow confirmation process is now separated
2019-05-06 21:40:11 +02:00
20c9d5fe1d
Merge pull request #7103 from nupplaphil/task/mod_smilies
Move mod/smilies to src/Module/Smilies
2019-05-06 12:53:45 -04:00
37f9af2f24 Merge remote-tracking branch 'upstream/develop' into separated-confirm 2019-05-06 05:54:51 +00:00
5da3e17a12 The follow confirmation process is now separated between DFRN and the rest 2019-05-06 05:46:13 +00:00
bd604d1cfb
Merge pull request #7084 from nupplaphil/task/mod_removetag
Move mod/filerm to src/Module/Filer/RemoveTag
2019-05-05 20:36:38 -04:00
fbf36d6e7f
Merge pull request #7086 from nupplaphil/task/mod_maintenance
Move mod/maintenance to src/Module/Maintenance
2019-05-05 20:36:12 -04:00
b79201beaf
Merge pull request #7102 from nupplaphil/task/mod_pretheme
Move mod/pretheme to src/Module/ThemeDetails
2019-05-05 20:33:21 -04:00
1e6affada1
Merge pull request #7101 from nupplaphil/task/mod_viewsrc
Move mod/viewsrc to src/Module/ItemBody
2019-05-05 20:32:42 -04:00
12b6ab9943
Merge pull request #7100 from nupplaphil/task/mod_robots_txt
Move mod/robots_txt to src/Module/RobotsTxt
2019-05-05 14:23:10 -04:00
8af0ae171e
Merge pull request #7083 from nupplaphil/task/mod_friendica
Move mod/friendica to src/Module/Friendica
2019-05-05 14:19:57 -04:00
Michael Vogel
fb563e0495
Merge pull request #7099 from nupplaphil/task/mod_modexp
Move mod/modexp to src/Module/PublicRSAKey
2019-05-05 19:49:51 +02:00
e90876cd86
Move mod/smilies to src/Module/Smilies 2019-05-05 19:39:02 +02:00
3f71a51d21
Move mod/pretheme to src/Module/ThemeDetails 2019-05-05 19:24:10 +02:00
49a3179578
Move mod/viewsrc to src/Module/ItemBody 2019-05-05 19:15:33 +02:00
510c150156
Move mod/robots_txt to src/Module/RobotsTxt 2019-05-05 19:06:51 +02:00
9f0bbd96be
Move mod/modexp to src/Module/PublicRSAKey 2019-05-05 19:02:19 +02:00
e17db489ee
Merge pull request #7095 from annando/ap-connect
Switching from legacy DFRN connect to ActivityPub
2019-05-05 09:37:43 -04:00
c830e4b300
Merge pull request #7091 from nupplaphil/task/mod_rsd
Move mod/rsd_xml to src/Module/ReallySimpleDiscovery
2019-05-05 08:30:06 -04:00
bdf1e7ebfd Improved protocol storing 2019-05-05 11:53:17 +00:00
b6000b3395 Storing the protocol while following a contact 2019-05-05 11:19:30 +00:00
62fd5375dc
Move mod/maintenance to src/Module/Maintenance 2019-05-05 10:06:50 +02:00
a052b098fc
Move mod/filerm to src/Module/FilerM 2019-05-05 10:02:10 +02:00
0046e62077
Merge pull request #7090 from nupplaphil/task/mod_like
Move mod/like to src/Module/Like
2019-05-04 22:02:48 -04:00
0a8a614608
Merge pull request #7089 from nupplaphil/task/mod_help
Move mod/help to src/Module/Help
2019-05-04 22:02:38 -04:00
3118453fb9
Merge pull request #7088 from nupplaphil/task/mod_invite
Move mod/invite to src/Module/Invite
2019-05-04 19:30:13 -04:00
a1f332aaa5
Move mod/rsd_xml to src/Module/ReallySimpleDiscovery 2019-05-04 21:37:32 +02:00
aeae65daf8
Move mod/like to src/Module/Like 2019-05-04 21:20:39 +02:00
1d106762da
Move mod/help to src/Module/Help 2019-05-04 21:06:08 +02:00
bacf9825ff
Move mod/invite to src/Module/Invite 2019-05-04 20:32:31 +02:00
74fda8f390
Merge pull request #7085 from nupplaphil/task/mod_home
Move mod/home to src/Module/Home
2019-05-04 14:09:54 -04:00
5e3a55915d
Merge pull request #7078 from nupplaphil/task/mod_fetch
Move mod/fetch to src/Module/Diaspora/Fetch
2019-05-04 08:47:23 -04:00
708ffaff51
Move mod/home to src/Module/Home 2019-05-04 13:08:31 +02:00
6f787f2422
Move mod/friendica to src/Module/Friendica 2019-05-04 10:14:29 +02:00
2b4c710e3f
Move mod/fetch to src/Module/Fetch 2019-05-03 10:42:40 +02:00
1ef4b9c7e4
Move mod/nogroup to src/Module/Group 2019-05-03 08:50:17 +02:00
Michael Vogel
6c34196264 Cleaning confirm 2019-05-03 06:17:26 +02:00
cd41efe29d
Merge pull request #7071 from nupplaphil/task/mod_bookmarklet
Move mod/bookmarklet to src/Module/BookMarklet
2019-05-02 20:03:26 -04:00
8010ccdc21
Merge pull request #7072 from nupplaphil/task/mod_directory
Move mod/directory to src/Module/Directory
2019-05-02 20:03:13 -04:00
d48b100f78
Merge pull request #7069 from nupplaphil/task/mod_allfriends
Move mod/allfriends to src/Module/AllFriends
2019-05-02 20:03:05 -04:00
e6bf97777f Remove /display/{nick}/{id} URL structure publishing
- Remove support for defunct Friendica F-Droid app
2019-05-02 17:04:17 -04:00
2e9b2d72be
Move mod/directory to src/Module/Directory 2019-05-02 22:49:33 +02:00
b2ff31da74
Move mod/bookmarklet to src/Module/BookMarklet 2019-05-02 22:17:09 +02:00
c5e7abf9c5
Move mod/allfriends to src/Module/AllFriends 2019-05-02 22:03:27 +02:00
Philipp
2628da422a
Merge pull request #7068 from MrPetovan/task/7047-theme-error-page
Themed error page redux
2019-05-02 21:15:29 +02:00
Philipp
774d04cd2f
Merge pull request #7044 from MrPetovan/task/router
Move mod/admin to src/Module/Admin
2019-05-02 18:26:30 +02:00
41f781c52a Replace System::httpExit() by HTTPException throwing 2019-05-02 11:37:09 -04:00
Philipp
07cb887885
Merge pull request #7067 from MrPetovan/task/remove-app-error
Remove App->error
2019-05-02 17:24:56 +02:00
9774c95b80 Remove duplicate $baseurl template variable
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
26bee52212 Removed unused mod/admin 2019-05-02 09:52:54 -04:00
fa4b42c6dd Move phpinfo module to src/Module/Admin 2019-05-02 09:52:53 -04:00
bc5d1384e1 Move admin/deleteitem to src/Module/Admin 2019-05-02 09:52:52 -04:00
a201391d11 Move admin/dbsync to src/Module 2019-05-02 09:52:51 -04:00
df947ba9db Move admin/logs to src/Module 2019-05-02 09:52:51 -04:00
740723534f Move admin/site to src/Module
- Replace default theme settings modal with simple link to admin/themes
2019-05-02 09:52:50 -04:00
d0b40cda4c Move admin/themes/{theme} to src/Module
- Remove now unused templates/admin/addon_detail.tpl
- Remove references to themes admin in mod/admin.php
2019-05-02 09:52:50 -04:00
a88df9b259 Ensure theme consistency when using filebrowser
- Send frio filebrowser result to current frame instead of parent one
2019-05-02 09:52:48 -04:00
5a01c53781 Move admin/queue to src/Module
- Add Module\Admin\Queue class
- Add route for admin/queue[/deferred]
- Add queue admin aside menu entry
- Remove obsolete templates/admin/queue.tpl from base and frio
- Move templates/admin/workerqueue.tpl to templates/admin/queue.tpl
- Remove admin_page_workerqueue and admin_page_workerqueue_post from mod/admin.php
- Update admin/summary.tpl with new queue admin paths
2019-05-02 09:52:48 -04:00
5750623b48 Move admin/blocklist/server to src/Module
- Add Module\Admin\Blocklist\Server class
- Add route for admin/blocklist/server
- Add server blocklist admin aside menu entry
- Move templates/admin/blocklist.tpl to templates/admin/blocklist/server.tpl
- Remove admin_page_blocklist and admin_page_blocklist_post from mod/admin.php
2019-05-02 09:52:47 -04:00
cf885841c8 Move admin/blocklist/contact to src/Module
- Add Module\Admin\ContactBlock\Contact class
- Add route for admin/blocklist/contact
- Add contact blocklist admin aside menu entry
- Move templates/admin/contactblock.tpl to templates/admin/blocklist/contact.tpl in base and frio
- Remove admin_page_contactblock and admin_page_contactblock_post from mod/admin.php
2019-05-02 09:52:46 -04:00
446cb905e4 Move admin/features to src/Module
- Add Module\Admin\Features class
- Add route for admin/features
- Add features admin aside menu entry
- Move templates/admin/settings_features.tpl to templates/admin/features.tpl
- Remove admin_page_features and admin_page_features_post from mod/admin.php
2019-05-02 09:52:46 -04:00
f3f055758c Move admin/users to src/Module
- Add Module\Admin\Users class
- Add route for admin/users[/{action}/{uid}]
- Add users admin aside menu entry
- Remove admin_page_users and admin_page_users_post from mod/admin.php
2019-05-02 09:52:45 -04:00
87e51ddd67 Move admin/addons/{addon} to src/Module
- Add Module\Admin\Addons\Details class
- Add route for admin/addons/{addon}
- Remove addons pages from mod/admin
2019-05-02 09:52:44 -04:00
9bbb438534 Move admin/addons to src/Module
- Add Module\Admin\Addons\Index class
- Add route for admin/addons
- Add addons admin aside menu entry
- Remove unused template admin/addons.tpl from base and frio
- Remove addon list from mod/admin
2019-05-02 09:52:44 -04:00
a13bc14933 Move admin/themes to src/Module
- Add Module\Admin\Themes\Index class
- Add route for admin/themes
- Add themes admin aside menu entry
- Add admin/addons/index.tpl template
- Remove theme list from mod/admin
2019-05-02 09:52:43 -04:00
488e425416 Move admin/tos to src/Module
- Add Module\Admin\Tos class
- Add route for admin/tos
- Add admin aside menu entry
- Remove admin_page_tos and admin_page_tos_post from mod/admin.php
2019-05-02 09:52:42 -04:00
35d222f95d Move admin/federation to src/Module
- Add Module\Admin\Federation class
- Add missing abstract keyword in Module\BaseAdminModule
- Add route for admin/federation
- Remove admin_page_federation()  from mod/admin.php
2019-05-02 09:52:42 -04:00
6387a77b52 Move admin summary to src/Module
- Add BaseAdminModule class
- Add Module\Admin\Summary class
- Add Route for Admin\Summary module
- Remove admin_page_summary() in mod/admin
- Remove $showwarning variable from admin/summary.tpl
2019-05-02 09:52:41 -04:00
dd0b7d2642 Replace straightforward q() calls by DBA::selectFirst or DBA::exists in mod/photos 2019-05-02 09:49:20 -04:00
28f316b7e4 Replace the legacy DFRN connection process with AP 2019-05-02 13:05:31 +00:00
7b1ea6cad6 Remove App->error 2019-05-01 21:17:03 -04:00
9b91b0550d Rework suggest module without App->error
- Add POST treatment for ignore request
2019-05-01 21:13:33 -04:00
9fa2139681 Remove unused code mentioning App->error in mod/videos 2019-05-01 20:29:01 -04:00
5dd6e6b5fb Reworked /photos module without App->error
- Moved confirm dialogs to photos_content()
- Removed comments/interactions from photo edit page
2019-05-01 19:36:14 -04:00
90248f6bb7
Move .well-known, webfinger, xrd to src/Module/ 2019-05-01 18:25:04 +02:00
e7f8d8c3b6
Adding to router 2019-05-01 18:24:51 +02:00
6afeacf02b
remove require_once 2019-05-01 18:24:41 +02:00
3cd438c4e3
Move mod/hostxrd to src/Module/Hostxrd 2019-05-01 18:24:41 +02:00
a4c2de7a0b
Merge pull request #7063 from nupplaphil/task/mod_amcd
Move mod/amcd to src/Module/AccMgmtControlDoc
2019-05-01 11:32:20 -04:00
1460e417c1
Move mod/amcd to src/Module/AccMgmtControlDoc 2019-05-01 00:32:33 +02:00
Michael Vogel
581895c07d Preparation for switching the connect mechanism from DFRN to AP 2019-04-30 20:07:20 +02:00
Steffen K9
0719f6436b
Fix parenthesis encoding in admin.php
Parenthesis in admin, site, worker, frontend worker have wrong encoding.
2019-04-28 11:02:11 +02:00
178ad53e22 Move item feed display after permission checking in mod/display 2019-04-28 02:56:51 -04:00
e0deb633f0 Move item feed display after permission checking in mod/display 2019-04-28 01:13:39 -04:00
2d1e771178
Merge pull request #7029 from nupplaphil/task/mod_manifest
Move mod/manifest to src/Module/Manifest
2019-04-24 09:26:57 -04:00
bdc09f1c28 remove superfluous leftover require that broke the .well-known page 2019-04-23 19:03:03 +02:00
568ce4dd75
Merge pull request #7030 from nupplaphil/task/mod_nodeinfo
Move mod/nodeinfo to src/Module/Nodeinfo
2019-04-22 09:51:23 -04:00
0aa0ec2710
Merge pull request #7027 from nupplaphil/task/mod_statistics_json
Moving mod/statistics_json to src/Module/Statistics_json
2019-04-22 09:51:03 -04:00
6056081d5a
Move mod/nodeinfo to src/Module/Nodeinfo 2019-04-22 14:00:17 +02:00
86529ce6ae
Merge pull request #7028 from nupplaphil/task/mod_localtime
Move mod/localtime to src/Module/Localtime
2019-04-22 07:53:17 -04:00
ac96e1bf3e
Move mod/manifset to src/Module/Manifset 2019-04-22 12:48:40 +02:00
300a7069f5
Move mod/localtime to src/Module/Localtime 2019-04-22 12:31:18 +02:00
6503be8035
Moving mod/statistics_json to src/Module/Statistics_json 2019-04-22 10:38:34 +02:00
88f2d77786
Moving mod/babel to src/Module/babel 2019-04-21 15:17:04 +02:00
75387ea171
Merge pull request #6991 from fabrixxm/fix/invalid-storage-on-legacy
Allow set empty string storage class for legacy
2019-04-11 09:04:48 -04:00
fabrixxm
d2e43619b3 Code standards 2019-04-11 10:44:28 +02:00
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