Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00
Philipp Holzer
aba7c9f08c
Remove queue from Admin/Summary
2019-06-02 03:28:22 +02:00
Philipp
25433e79d5
Merge pull request #7211 from MrPetovan/bug/7209-admin-forbidden
...
Add themed themed error page or login page for /admin[/*]
2019-05-31 11:49:40 +02:00
Hypolite Petovan
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
Hypolite Petovan
4b4a319af9
Add themed themed error page or login page for /admin[/*]
2019-05-31 00:23:30 -04:00
Philipp Holzer
c76258c370
catching nulls for FileTag
2019-05-30 13:54:35 +02:00
Philipp Holzer
5002bda5fc
Checking the existence of '-' before array operation
...
See https://github.com/friendica/friendica/issues/6918#issuecomment-491490533
2019-05-29 20:07:53 +02:00
Philipp
be3d7759f0
Merge pull request #7198 from MrPetovan/task/6861-to-plaintext
...
Simplify BBCode::toPlaintext and HTML::toPlaintext
2019-05-28 07:49:25 +02:00
Hypolite Petovan
ed768c71ee
Remove "f=&" nonsense from network module
...
- Fixes wrong redirect when using the sidebar filters
2019-05-27 17:45:27 -04:00
Hypolite Petovan
0fadc7730c
Replace deprecated string-bases Model\FileTag calls with array-based ones
2019-05-27 17:40:08 -04:00
Hypolite Petovan
5d2bf73517
Add Babel result screen for compact HTML::toPlaintext
2019-05-27 12:02:28 -04:00
Hypolite Petovan
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
Hypolite Petovan
e99e8096bf
Merge pull request #7191 from nupplaphil/bug/logfile_permission
...
Fixing logfile permission denied exceptions
2019-05-26 15:19:26 -04:00
Philipp Holzer
b56b56ccb6
friendica-6379 Monolog - logfile permission denied
2019-05-26 14:33:09 +02:00
Hypolite Petovan
cc6a17d27a
Ensures Widget::postedByYear uid parameter is integer in Module\Profile
2019-05-26 08:18:59 -04:00
Hypolite Petovan
d27d4d8927
Move posted date widget to Content\Widget
2019-05-25 19:08:15 -04:00
Philipp
bd0c536736
Merge pull request #7156 from MrPetovan/task/add-relationship-filter
...
Add contact relationship filter
2019-05-25 20:17:05 +02:00
Hypolite Petovan
08d7d42f81
Ensures Search methods return an empty ResultList instead of null
...
- Addresses https://github.com/friendica/friendica/issues/6916#issuecomment-494876901
2019-05-24 08:13:36 -04:00
Hypolite Petovan
0dae4f9492
Fix typo in Module\Contact
...
Follow-up to #7154 , thanks to @AlfredSK
2019-05-23 13:01:40 -04:00
Hypolite Petovan
40ca25f4f7
Fix SQL error in Module\Admin\Summary
2019-05-21 17:01:15 -04:00
Hypolite Petovan
bebff3271b
Remove obsolete TODO comment in Module\Profile\Contacts
2019-05-20 15:10:34 -04:00
Hypolite Petovan
c65faecc8c
Add current tab parameter to Model\Profile::getTabs
2019-05-20 15:09:33 -04:00
Hypolite Petovan
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
Hypolite Petovan
e6742af65c
Add contact relationship filter to /contact module
2019-05-20 14:50:09 -04:00
Hypolite Petovan
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
Hypolite Petovan
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
Philipp Holzer
5e79d3fc82
Fixing method signature
2019-05-20 19:19:57 +02:00
Philipp Holzer
2bb2bb19fd
refactor method signature
2019-05-20 19:15:47 +02:00
Philipp Holzer
58c8959da0
Add search types
2019-05-20 19:13:37 +02:00
Philipp Holzer
1e36c68e48
Moving Search to Core, Refactor Objects
2019-05-20 18:42:27 +02:00
Hypolite Petovan
1cd7d50939
Merge pull request #7172 from nupplaphil/task/mod_notice_rm
...
Remove src/Module/Notice
2019-05-20 12:26:28 -04:00
Philipp Holzer
853f5cb92f
Remove src/Module/Notice
...
see https://github.com/friendica/friendica/pull/7159#issuecomment-493744623
2019-05-20 18:22:34 +02:00
Hypolite Petovan
325ba20141
Improve Diaspora raw text support in /babel module
2019-05-19 18:52:01 -04:00
Hypolite Petovan
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
Philipp
a758671a1b
Merge pull request #7154 from MrPetovan/task/refactor-widgets
...
Refactor widgets
2019-05-19 20:52:00 +02:00
Philipp Holzer
419cc81ef1
renaming
2019-05-19 05:13:06 +02: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
2520286b1f
some small improvements
2019-05-19 04:43:09 +02:00
Philipp Holzer
34a1e923dd
dependency lowering
2019-05-19 04:38:35 +02:00
Philipp Holzer
e00f110ef1
Move mod/dirfind to src/Module/DirFind
2019-05-19 04:28:16 +02:00
Philipp Holzer
492d7abe92
Renamed Diagnostic to Debug and deleted ItemSource (already defined)
2019-05-19 04:24:56 +02:00
Philipp Holzer
48bba87abe
Move mod/probe to src/Module/Probe
2019-05-19 04:24:18 +02:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
5f068b07f9
some improvements
2019-05-19 03:12:22 +02:00
Philipp Holzer
82e271589f
Move mod/starred to src/Module/Starred
2019-05-19 03:07:44 +02:00
Hypolite Petovan
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
d91b3bb59c
remove unused dependencies
2019-05-19 02:53:36 +02:00
Philipp Holzer
d81c1d81b3
correct notice redirect
2019-05-19 02:53:35 +02:00
Philipp Holzer
ce3b121064
rename rawContent() to content()
2019-05-19 02:53:35 +02:00
Philipp Holzer
9092cb1beb
Move mod/notice to src/Module/Notice
2019-05-19 02:53:31 +02:00
Hypolite Petovan
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
Hypolite Petovan
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
1483cd3fb4
rearrange content/init
2019-05-18 20:34:11 +02:00
Philipp Holzer
68fdc7215e
rearrange rawContent / content
2019-05-18 20:16:08 +02:00
Philipp Holzer
56bd395b8a
Move mod/notify to src/Module/Notify
2019-05-18 18:59:41 +02:00
Philipp Holzer
9f13ae6e73
Move mod/opensearch to src/Module/OpenSearch
2019-05-18 17:43:58 +02:00
Hypolite Petovan
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
Hypolite Petovan
0c63f8aa42
Add contact block reason form and display in admin page
2019-05-15 19:30:13 -04:00
Philipp
5e85bdecd0
Merge pull request #7135 from MrPetovan/task/two-factor-authentication
...
Add native two-factor authentication support
2019-05-14 07:07:03 +02:00
Hypolite Petovan
5c59c57b14
Improve template args visual alignment in two-factor modules
2019-05-13 13:31:08 -04:00
Philipp Holzer
076370631f
Friendica-7112 - Missing basepath fix
2019-05-13 19:30:03 +02:00
Hypolite Petovan
8e885f5b97
Add two-factor authentication settings
...
- Add settings aside menu entry
- Add two-factor authentication documentation
2019-05-13 01:52:01 -04:00
Hypolite Petovan
d7e9b91181
Add two-factor authentication
...
- Add 2FA login interception in Session::setAuthenticatedForUser
- Add 2fa session variable holding the last auth code
2019-05-13 01:52:01 -04:00
Hypolite Petovan
c2062fe594
Fix undefined $a variable in Module\Help
2019-05-13 01:51:59 -04:00
Hypolite Petovan
6071fe81b4
Move Authentication::setAuthenticatedSessionForUser to Session::setAuthenticatedForUser
2019-05-13 01:51:59 -04:00
Philipp
7bd1a34bf8
Merge pull request #7116 from MrPetovan/task/improve-addon-admin
...
Improve addon admin
2019-05-09 16:49:38 +02:00
Valvin
0b1c271837
add new disallowed path for robots.txt
2019-05-08 13:08:34 +02:00
Hypolite Petovan
5ff5325e14
Uninstall addon when it wasn't found when accessed from admin aside
2019-05-08 00:46:42 -04:00
Philipp Holzer
9ff0d56e03
Add contact/batch route
2019-05-07 21:15:22 +02: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
Michael
626709159f
Some cleaning up
2019-05-06 18:46:30 +00:00
Hypolite Petovan
41642061d7
Merge pull request #7107 from nupplaphil/bug/mod_fix_routes
...
Fix contact/group routes
2019-05-06 13:15:29 -04:00
Philipp Holzer
53d13f4e4a
Fix contact routes
2019-05-06 18:57:50 +02:00
Hypolite Petovan
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
Philipp Holzer
97f02c2670
Move Smilies::getList() into if
2019-05-06 18:46:37 +02:00
Philipp Holzer
23158bc3c8
add feedback
2019-05-06 08:27:57 +02:00
Michael
37f9af2f24
Merge remote-tracking branch 'upstream/develop' into separated-confirm
2019-05-06 05:54:51 +00:00
Michael
5da3e17a12
The follow confirmation process is now separated between DFRN and the rest
2019-05-06 05:46:13 +00:00
Philipp
14d8c12130
Merge pull request #7092 from MrPetovan/task/7047-theme-error-page
...
Add style to exception page
2019-05-06 07:33:42 +02:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
bb8d297ae4
Merge pull request #7097 from nupplaphil/task/mod_after_PR_fixing
...
Fixings for Mod-Refactorings
2019-05-05 20:28:57 -04:00
Hypolite Petovan
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
Hypolite Petovan
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
Philipp Holzer
e90876cd86
Move mod/smilies to src/Module/Smilies
2019-05-05 19:39:02 +02:00
Philipp Holzer
3f71a51d21
Move mod/pretheme to src/Module/ThemeDetails
2019-05-05 19:24:10 +02:00
Philipp Holzer
49a3179578
Move mod/viewsrc to src/Module/ItemBody
2019-05-05 19:15:33 +02:00
Philipp Holzer
510c150156
Move mod/robots_txt to src/Module/RobotsTxt
2019-05-05 19:06:51 +02:00
Philipp Holzer
9f0bbd96be
Move mod/modexp to src/Module/PublicRSAKey
2019-05-05 19:02:19 +02:00
Philipp Holzer
f6af90fa32
Create XML output for RSD with XML::fromArray()
2019-05-05 18:15:39 +02:00
Philipp Holzer
440d0a3a63
Rename BookMarklet to Bookmarklet
2019-05-05 17:59:57 +02:00
Hypolite Petovan
155d541860
Merge pull request #7093 from nupplaphil/bug/mod_home
...
Bugfixing Home
2019-05-05 08:36:37 -04:00
Hypolite Petovan
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
Philipp Holzer
dc9c9040e5
Bugfixing Home
2019-05-05 10:47:08 +02:00
Philipp Holzer
1a79a741f0
include feedback
2019-05-05 10:09:08 +02:00
Philipp Holzer
9fb111bca2
Rename ServiceUnavailableException & alter maintenance
2019-05-05 10:07:33 +02:00
Philipp Holzer
62fd5375dc
Move mod/maintenance to src/Module/Maintenance
2019-05-05 10:06:50 +02:00
Philipp Holzer
a052b098fc
Move mod/filerm to src/Module/FilerM
2019-05-05 10:02:10 +02:00
Philipp Holzer
9123361d61
added feedback
2019-05-05 10:00:28 +02:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
c969635bbc
Add style to exception page
2019-05-04 21:54:05 -04:00
Hypolite Petovan
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
Philipp Holzer
a1f332aaa5
Move mod/rsd_xml to src/Module/ReallySimpleDiscovery
2019-05-04 21:37:32 +02:00
Philipp Holzer
15d0913226
fix quotes
2019-05-04 21:25:16 +02:00
Philipp Holzer
aeae65daf8
Move mod/like to src/Module/Like
2019-05-04 21:20:39 +02:00
Philipp Holzer
1d106762da
Move mod/help to src/Module/Help
2019-05-04 21:06:08 +02:00
Philipp Holzer
bacf9825ff
Move mod/invite to src/Module/Invite
2019-05-04 20:32:31 +02:00
Hypolite Petovan
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
Philipp Holzer
35d4daa4f9
Kept the hook, ditched the init
2019-05-04 16:26:32 +02:00
Hypolite Petovan
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
Philipp Holzer
708ffaff51
Move mod/home to src/Module/Home
2019-05-04 13:08:31 +02:00
Philipp Holzer
28d6441d69
add PHP doc
2019-05-04 10:18:41 +02:00
Philipp Holzer
6f787f2422
Move mod/friendica to src/Module/Friendica
2019-05-04 10:14:29 +02:00
Philipp Holzer
6ff3389f6e
add status code to System::externalRedirect
2019-05-04 09:16:37 +02:00
Philipp Holzer
21aa82e064
Add redirect for fetch
2019-05-03 15:08:50 +02:00
Philipp Holzer
2b4c710e3f
Move mod/fetch to src/Module/Fetch
2019-05-03 10:42:40 +02:00
Philipp Holzer
1ef4b9c7e4
Move mod/nogroup to src/Module/Group
2019-05-03 08:50:17 +02:00
Hypolite Petovan
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
Hypolite Petovan
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
Philipp Holzer
83e5fe2539
added url for magic link again
2019-05-02 23:39:20 +02:00
Philipp Holzer
c685ce3db1
Fixed Forbidden message.
2019-05-02 23:35:52 +02:00
Philipp Holzer
43a0f2d8d7
fixed alignment :-)
2019-05-02 23:35:01 +02:00
Philipp Holzer
a5d33444ee
added feedback
2019-05-02 23:32:19 +02:00
Philipp Holzer
a9f701b9d6
merge init() and content()
2019-05-02 23:28:13 +02:00
Philipp Holzer
5879584e15
Remove post()
2019-05-02 23:26:34 +02:00
Philipp Holzer
47d03058d1
Added feedback
2019-05-02 23:26:02 +02:00
Philipp Holzer
2e9b2d72be
Move mod/directory to src/Module/Directory
2019-05-02 22:49:33 +02:00
Philipp Holzer
b2ff31da74
Move mod/bookmarklet to src/Module/BookMarklet
2019-05-02 22:17:09 +02:00
Philipp Holzer
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
Hypolite Petovan
41f781c52a
Replace System::httpExit() by HTTPException throwing
2019-05-02 11:37:09 -04:00
Hypolite Petovan
358baa9f62
Add themed error pages
...
- Module init, post and rawContent-triggered HTTPException generate the classic bare HTTP status page
- Module content-triggered HTTPException generate themed error pages
- Trim System::httpExit to the bare minimum
2019-05-02 11:26:56 -04:00
Hypolite Petovan
b4b8c61daf
Add @TODO comments per @nupplaphil review in various Admin modules
2019-05-02 10:20:02 -04:00
Hypolite Petovan
92b415bc36
Fix EOL and EOF in Admin modules
2019-05-02 09:55:50 -04:00
Hypolite Petovan
2a035b9b2f
Use DBA::fetchFirst instead of DBA::p for aggregate query in Module\Admin\Federation
2019-05-02 09:55:50 -04:00
Hypolite Petovan
451a06a597
Various code inspection items
...
- Fix class extension in Module\Admin\Item\Source
- Remove useless condition in Module\Admin\Features
2019-05-02 09:55:50 -04:00
Hypolite Petovan
6df37afb82
Various feedback items
...
- Add logger call on theme install failure
- Add todo in Module\Admin\DBSync
2019-05-02 09:55:49 -04:00
Hypolite Petovan
71546705f8
Add Model\Contact::select method
2019-05-02 09:55:49 -04:00
Hypolite Petovan
9f4fb4906a
Move addon admin list generation to Core\Addon
2019-05-02 09:55:49 -04:00
Hypolite Petovan
9774c95b80
Remove duplicate $baseurl template variable
...
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
Hypolite Petovan
d8125eb3db
Make the site admin theme setting link go to the currently selected theme
2019-05-02 09:52:55 -04:00
Hypolite Petovan
3d64ac603e
Backport updated Pleroma version number handling
2019-05-02 09:52:54 -04:00
Hypolite Petovan
db5b66e6f1
Update Smarty input field help comment in Admin\Logs\Settings
2019-05-02 09:52:54 -04:00
Hypolite Petovan
2368eacc19
Add remaining non-admin links in admin menu
2019-05-02 09:52:53 -04:00
Hypolite Petovan
fa4b42c6dd
Move phpinfo module to src/Module/Admin
2019-05-02 09:52:53 -04:00
Hypolite Petovan
ad02fd140a
Move /itemsource to src/Module/Admin
2019-05-02 09:52:53 -04:00
Hypolite Petovan
bc5d1384e1
Move admin/deleteitem to src/Module/Admin
2019-05-02 09:52:52 -04:00
Hypolite Petovan
a201391d11
Move admin/dbsync to src/Module
2019-05-02 09:52:51 -04:00
Hypolite Petovan
df947ba9db
Move admin/logs to src/Module
2019-05-02 09:52:51 -04:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
a5da0fd98f
Add admin/themes/{theme}/embed module
...
- This module allows editing the site settings for a theme with a different user theme
2019-05-02 09:52:49 -04:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Philipp
51210af221
Merge branch 'develop' into task/mod_hostxrd
2019-05-02 12:33:53 +02:00
Hypolite Petovan
10114661d4
Merge pull request #7065 from nupplaphil/task/mod_add_routes
...
Add routes to all current BaseModules
2019-05-02 00:04:22 -04:00
Philipp Holzer
07ba1b200c
Add routes for current BaseModules
2019-05-01 21:29:04 +02:00
Philipp Holzer
0b5db6238e
fixing text
2019-05-01 20:17:15 +02:00
Philipp Holzer
b6b9e57488
Add routes for current BaseModules
2019-05-01 20:16:21 +02:00
Philipp Holzer
b3cee63745
Update README for Modules
2019-05-01 19:58:51 +02:00
Philipp Holzer
a47a6a0cd9
code standards :-)
2019-05-01 19:48:49 +02:00
Philipp Holzer
a338c75c9f
Update README for Modules
2019-05-01 19:46:18 +02:00
Philipp Holzer
faae48959e
code standards :-)
2019-05-01 19:29:24 +02:00
Philipp Holzer
2ae4b9f7e9
Last refactoring :-) / refactor due feedback
2019-05-01 19:17:52 +02:00
Philipp Holzer
0345c50e2d
refactor Nodeinfo for more strait implementation
2019-05-01 18:43:06 +02:00
Philipp Holzer
8581fbb40f
refactor caused by feedback
2019-05-01 18:25:07 +02:00
Philipp Holzer
90248f6bb7
Move .well-known, webfinger, xrd to src/Module/
2019-05-01 18:25:04 +02:00
Philipp Holzer
e7f8d8c3b6
Adding to router
2019-05-01 18:24:51 +02:00
Philipp Holzer
007d0459be
optimize check
2019-05-01 18:24:41 +02:00
Philipp Holzer
3cd438c4e3
Move mod/hostxrd to src/Module/Hostxrd
2019-05-01 18:24:41 +02:00
Philipp Holzer
08d4c7f1a9
Rename to AccountManagementControlDocument
2019-05-01 17:05:46 +02:00
Philipp Holzer
1460e417c1
Move mod/amcd to src/Module/AccMgmtControlDoc
2019-05-01 00:32:33 +02:00
Hypolite Petovan
71b221a84d
Fix "Illegal string offset 'title'/'description'" notice in Module\Photo
...
See https://forum.friendi.ca/display/097d37de-265c-c35b-f385-e0b584714020
2019-04-26 15:39:42 -04:00
Hypolite Petovan
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
Hypolite Petovan
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
Hypolite Petovan
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
Philipp Holzer
6056081d5a
Move mod/nodeinfo to src/Module/Nodeinfo
2019-04-22 14:00:17 +02:00
Hypolite Petovan
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
Philipp Holzer
ac96e1bf3e
Move mod/manifset to src/Module/Manifset
2019-04-22 12:48:40 +02:00
Philipp Holzer
300a7069f5
Move mod/localtime to src/Module/Localtime
2019-04-22 12:31:18 +02:00
Philipp Holzer
6503be8035
Moving mod/statistics_json to src/Module/Statistics_json
2019-04-22 10:38:34 +02:00
Philipp Holzer
88f2d77786
Moving mod/babel to src/Module/babel
2019-04-21 15:17:04 +02:00
Philipp
34748e8ffd
Merge pull request #7009 from MrPetovan/bug/6952-fix-save-to-folder
...
Prevent full page to load on save to folder modal
2019-04-14 16:53:12 +02:00
Hypolite Petovan
b4b67aa136
Change Module\Filer::content to rawContent to prevent full page to load in modal
2019-04-14 08:57:27 -04:00
Philipp Holzer
03e149270b
bugfix
2019-04-14 14:40:26 +02:00
Philipp Holzer
58c9566c3d
code style & install-403 fix
2019-04-14 14:24:01 +02:00
Philipp Holzer
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
Philipp
f69d73b5ff
Merge pull request #6969 from MrPetovan/task/router
...
Add rule-based router
2019-04-06 11:00:00 +02:00
Hypolite Petovan
5b12bccb45
Move user tombstone activity data to ActivityPub\Transmitter
2019-04-04 07:38:40 -04:00
Hypolite Petovan
993f4e5fcc
Add sample route for /itemsource
...
- Fix missing item guid not displaying in Module\Itemsource
2019-04-03 23:36:37 -04:00
Hypolite Petovan
d51b9226a6
Replace deprecated System::baseURL with App->getBaseUrl in Module\Profile
2019-04-01 05:05:52 -04:00
Hypolite Petovan
e911302fe9
Add tombstone object for AP response on deleted profile
...
- Responds with 404 status code with all other non-success cases
2019-04-01 03:15:41 -04:00
Philipp Holzer
69fa6161e5
Refactor installer
2019-03-22 23:31:45 -04:00
Philipp Holzer
8237e73e26
Adding REAMDEs to directories
2019-03-22 22:56:57 -04:00
Philipp Holzer
e4439a5fe3
removed debugging
2019-03-22 22:55:49 -04:00
Philipp Holzer
083820b107
Moving mod/feedtest to src/Module/Feedtest
2019-03-22 22:55:49 -04:00
Philipp Holzer
be6057b056
refactoring
2019-03-22 22:55:47 -04:00
Philipp Holzer
78d0d6e6e1
Moving mod/filer to src/Module/Filer
2019-03-22 22:55:47 -04:00
Philipp Holzer
a876f132bd
Moving mod/credits to src/Module/Credits
2019-03-22 22:55:46 -04:00
Philipp Holzer
8e0355bec3
reduce code
2019-03-22 22:28:13 -04:00
Philipp Holzer
25a7086fc5
moving mod/apps to src/Module/Apps
2019-03-22 22:28:12 -04:00
Michael
0aab620d32
Enable remote authentication with HTTP Signatures
2019-03-19 06:44:51 +00:00
Michael
a876c20850
Use HTTP-Signature to authenticate when fetching photos.
2019-03-18 22:33:20 +00: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
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
Hypolite Petovan
6376293218
Merge /contactgroup module with Group module
2019-02-23 17:32:40 -05:00
Hypolite Petovan
7ab986bc97
Move group module to src/
2019-02-23 17:32:40 -05:00
Hypolite Petovan
cd53585101
Improve /itemsource display
...
- Add Item Id
- Add Item Terms
2019-02-23 17:32:10 -05:00
Michael
ed54345ce1
Only check once
2019-02-23 22:27:03 +00:00
Michael
28f7c72cc7
Don't allow calling the install page after the install had been processed
2019-02-23 21:58:35 +00:00
Philipp Holzer
a73235b6ee
Fixing DBA::(re-)connect()
2019-02-23 12:49:56 +01:00
Philipp Holzer
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Philipp Holzer
347d959f25
fixing #6652 Manual installer bricked
2019-02-14 17:44:17 +01:00
Hypolite Petovan
ca65450537
Add query path capabilities to /itemsource
2019-02-08 23:12:05 -05:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Hypolite Petovan
23171296b2
Add missing EOF newline in Module\Profile
2019-01-30 11:11:23 -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
Michael
9f2e9dfc1b
Fetchting the original post at first, then the other way is dafer.
2019-01-26 12:09:38 +00:00
Michael
ad782b55ef
Preparation for forum posts over AP
2019-01-26 12:03:09 +00:00
Hypolite Petovan
46315f6946
Fix missing use statement in Module\Inbox
2019-01-23 21:22:39 -05:00
Michael
0fdab4ed10
Fix for several fatal errors
2019-01-23 21:54:20 +00:00
Hypolite Petovan
004818ca1b
Fix indentation in Module\Inbox
2019-01-23 09:07:02 -05:00
Hypolite Petovan
0d9209a74b
Add AP Inbox logging back with config
2019-01-23 09:07:01 -05:00
Hypolite Petovan
49c9b6f9ff
Fix possibly undefined variables
2019-01-23 09:06:59 -05:00
Hypolite Petovan
f8c782380f
Remove unused code/use statements
2019-01-23 09:06:58 -05:00
Hypolite Petovan
cef6757c92
Replace REGISTER_* constants by Module\Register::* ones
2019-01-22 22:24:15 -05:00
Hypolite Petovan
0ccb6afdb5
Add Register module in src/
...
- Update REGISTER_* constants definition
- Update register template variable name
2019-01-22 22:22:04 -05:00
rabuzarus
eabe192efc
bugfix Contact.php - there is no column 'deleted' in the 'profile' table
2019-01-21 21:13:13 +01: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
Philipp Holzer
c38782731f
changing failed auth to warning
2019-01-21 10:54:41 -05:00
Philipp Holzer
b5afd2a21d
change regex for fail2ban
2019-01-21 10:54:40 -05:00
Philipp Holzer
aa15c0e094
Bugfixing Monolog
...
- Default Loglevel for logs set to 'info'
- Default config level is set to 'notice'
- using 'notice' for auth-failures
- Bugfixing wrong usage of legacy 'log()'
2019-01-21 10:54:39 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
d1c6ec9718
Update namespaces declaration in include/
...
- Remove unused use statements
- Add required use statements
2019-01-21 10:44:45 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -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
fabrixxm
e561fb3a0b
Fix undefined var in module Proxy
2019-01-21 10:00:47 -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
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
fabrixxm
bbbc15a5eb
Method getPhoto of Photo model should return false on error
...
Instead of red circle image, which breaks proxy module
2019-01-21 09:12:31 -05:00
fabrixxm
36f30533b7
Code standards
2019-01-21 09:11:40 -05:00
fabrixxm
5fdc9097a2
Rewrite Proxy module
2019-01-21 09:11:40 -05:00
fabrixxm
a46cbfca3d
Fix Module\Photo exit with error
2019-01-21 09:11:39 -05:00
fabrixxm
b0acf4284d
Code standards
2019-01-21 09:02:58 -05:00
fabrixxm
cbb5124d59
Code standards
2019-01-21 09:02:57 -05:00
fabrixxm
76579e02cc
profile_photo: use Photo model function to get photo and image
2019-01-21 09:02:57 -05:00
fabrixxm
07d358adc1
More code standard
2019-01-21 08:57:30 -05:00
fabrixxm
9317a1c054
Address code standards issues
2019-01-21 08:57:30 -05:00
fabrixxm
0ada604c7d
Return default profile photo if no profile photo is set
2019-01-21 08:57:29 -05:00
fabrixxm
3b3c4e8cc7
Pluggable storage backends: first steps
...
- add backend related columns in photo table
- add system resource storage class
- add code to load image data from backend class
- return "nosign" image as photo meta with SystemResource backend
2019-01-21 08:57:28 -05:00
fabrixxm
b96dbcd4cb
Move Photo module, update Photo model
2019-01-21 08:40:47 -05:00
Michael
ae2a8b796c
Avoid a notice in HTTP signature check, preparation for authentication
2019-01-15 06:31:12 +00:00
Michael
c1dec50248
Avoiding some notices
2019-01-13 18:03:13 +00:00
Michael
6ae6a8a983
Don't show deleted contacts, set new AP contacts as "pending" until they are accepted
2019-01-09 13:23:11 +00:00
Michael
8c6df8f156
Issue 6149: Making OWA (hopefully) compatible with Hubzilla
2019-01-08 11:17:05 +00:00
Michael
7e19506435
Issue 6394: The contact location has to be BBEncoded
2019-01-06 21:04:10 +00:00
Michael Vogel
94eca77041
Merge pull request #6315 from MrPetovan/bug/6309-add-fulltext-index-profile
...
Rework mod/match and mod/msearch
2018-12-27 18:04:06 +01:00
Hypolite Petovan
620395378e
Normalize uses of Strings::formatNetworkName to $network_link
...
- Unescape HTML template variable $network_link
2018-12-26 11:11:38 -05:00
Michael
f274357ad6
Issue-6329: Prevent double encoding
2018-12-26 11:21:42 +00:00
Hypolite Petovan
761e94d134
Remove redundant htmlentities/htmlspecialchars
2018-12-25 11:37:57 -05:00
Michael
ccb9be8f28
Issue 6316: Do not double encode / Avoid notice
2018-12-25 12:12:59 +00:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
f413abb82b
Merge pull request #6277 from annando/nextcloud-ap
...
Fix ActivityPub with Nextcloud
2018-12-17 15:28:22 -05:00
Michael
c485ca6f06
Fix ActivityPub with Nextcloud
2018-12-17 20:13:56 +00:00
Hypolite Petovan
faff105f86
Fix feed display in browser when using emojis
2018-12-16 22:58:43 -05:00
Hypolite Petovan
924869ab5b
Merge branch 'develop' into bug/6211-fix-contact-nets-all
2018-12-02 10:24:50 -05:00
Michael Vogel
5a3991d4f7
Merge pull request #6219 from MrPetovan/task/remove-x
...
Remove x()
2018-12-01 23:40:51 +01:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Michael
4a1f9a9bdd
Improved url detection for redirects
2018-11-30 11:27:17 +00:00
Hypolite Petovan
663ba65f17
Remove "all" value for nets parameter
2018-11-30 05:43:07 -05:00
Michael
4f9f86e310
We are now escaping many template fields
2018-11-25 18:56:26 +00:00
Hypolite Petovan
4b8af10561
Fix display of Connect/Disconnect links on contact page
2018-11-23 11:09:43 -05:00
Tobias Diekershoff
6be831fd32
Add link to user groups from /contact
...
There was no way to get to the contact group editor from the contact overview.
Additionally the documentation about the used accesskeys was updated.
2018-11-17 18:33:12 +01:00
Michael
5f258dac22
Make feeds look more like feeds
2018-11-15 13:21:58 +00:00
Michael
268862dd7c
Just some notice again
2018-11-14 10:54:42 +00:00
Michael
e1875cf206
Fixes notice "PHP Notice: Undefined index: return_path"
2018-11-13 18:10:37 +00:00
Michael
8844bb690d
Issue 6100: The AS object should be fetchable for every original post
2018-11-10 23:56:11 +00:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
063f0e9cb0
Rename escapeTags to escapeHtml
...
rename function and update calls.
2018-11-09 13:27:58 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
6fc9c6de3b
base64url calls
...
implement base64UrlEncode and base64UrlDecode functions
2018-11-08 10:37:08 -05:00
Adam Magness
0efcbe5d15
protect_sprintf calls
...
implement protectSprintf function
2018-11-08 10:30:45 -05:00
Adam Magness
916b3e551e
format_network_name calls
...
implement formatNetworkName function
2018-11-08 10:24:47 -05:00
Adam Magness
0e01568ccd
escape_tags calls
...
implement escapeTags function
2018-11-08 10:20:03 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Adam Magness
991f259ecb
random_string calls
...
implement getRandomHex function
2018-11-08 08:45:46 -05:00
Tobias Diekershoff
e12942ce7f
Merge pull request #6058 from JonnyTischbein/issue_contact_batch_archive
...
[frio] Fix unarchive contact batch action
2018-11-01 06:41:05 +01:00
Jonny Tischbein
76c9d37006
Fix not working unarchive contact batch action
2018-10-31 21:20:44 +01:00
vinzv
fc2b81d0dd
Update Install.php
...
Please update messages.po at Transifex as well.
2018-10-31 21:03:32 +01:00
Adam Magness
70f01d6c00
Template Engine and props to Renderer
...
move methods and props from App to Renderer
2018-10-31 13:25:38 -04:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Philipp Holzer
cf39c9df81
Bugfixings
...
- moved testargs.php to util directory
- Switch Environment check before config at automatic install
- checkPHP() is now finding the PHP binary too
- Bugfixing checkPHP() & required returned wrong status
- removing not used $_POST['phpath'] in web installer
2018-10-30 11:30:19 +01:00
Philipp Holzer
f0382ab919
Refactoring Installation
...
- centralized installation
- renamed Core\Install to Core\Installer
- avoid using $a->data[] for states
- removed unnecessary code
2018-10-29 18:44:39 +01:00
Philipp Holzer
cfae736660
Code Standards
2018-10-29 14:39:09 +01:00
Philipp Holzer
abb50fbf62
Install to Module
...
- Move Install to Module
- Some Bugfixings
2018-10-29 14:10:45 +01:00
Hypolite Petovan
7c0b591043
Move itemCount parameter from constructor to renderFull()
...
- Remove Pager->itemCount property and Pager->setItemCount() method
- Update usage
2018-10-25 00:07:16 -04:00
Hypolite Petovan
14237a9599
Move $pager and $page_offset out of App
...
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Philipp Holzer
48535c0959
Bugfixing redirects
...
- Adding App->redirect if both redirects are possible
2018-10-24 20:18:46 +02:00
vinzv
cb75c40f4e
adapted profile pic resize to 300px for whole system
2018-10-23 16:36:57 +02:00
Hypolite Petovan
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00
Philipp Holzer
32af52842b
adding defaults in mod/redir.php
2018-10-22 22:13:41 +02:00
Philipp Holzer
34989480e1
removed unnecessary System use
2018-10-22 22:13:39 +02:00
Philipp Holzer
3edad1591e
replaced $return_url to $return_path to make it more clear that it is a relative path to the Friendica baseurl
2018-10-22 22:13:37 +02:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Hypolite Petovan
ec0d3a6eac
Merge pull request #5946 from JonnyTischbein/move_include_security
...
Move and Split include/security
2018-10-19 08:55:08 -04:00
Hypolite Petovan
d0681075bf
Add itemsource module
2018-10-18 22:49:25 -04:00
Jonny Tischbein
f3fc1f36ca
Renaming functions + moving functions from security to Model/Item and BaseModule + fix multiline comments
2018-10-17 21:30:41 +02:00
Jonny Tischbein
ce2b1f5715
Rename function Authentication::authenticate_success to Authentication::success
2018-10-17 18:45:32 +02:00
Jonny Tischbein
45e5a7f59f
remove unsed require_onces of security.php
2018-10-17 18:39:27 +02:00
Jonny Tischbein
05be2db725
Move include/security tp /src/Core/Authentication and /src/Util/Security
2018-10-17 14:19:58 +02:00
Hypolite Petovan
aa8039373a
Update formatting of Module\Contact
...
- Replace double quotes with single
- Align array declarations
- Replace q() call with Model\User::getOwnerDataById()
2018-10-14 18:30:02 -04:00
Hypolite Petovan
a883a99fe6
Replace string fields by array in Module\Contact
2018-10-14 18:27:24 -04:00
Hypolite Petovan
12ddb3bb54
Replace unwarranted uses of $a->data['contact']
2018-10-14 18:25:44 -04:00
Hypolite Petovan
57e8fb5cb1
Normalize uses of defaults() in Module\Contact
...
- Remove uses without default value
- Add relevant uses
2018-10-14 18:24:02 -04:00
Hypolite Petovan
756a4f1111
Fix remaining instances of "contacts"
2018-10-14 18:02:54 -04:00
Hypolite Petovan
74c5f1f684
Merge pull request #5891 from JonnyTischbein/move_module_contacts
...
Move module contacts
2018-10-14 16:42:50 -04:00
Jonny Tischbein
e41c59b193
Fix batch action choice - All Actions for one contact were taken before
2018-10-14 21:38:38 +02:00
Jonny Tischbein
d54e56c659
Fix batch action query + Fix Namespace import
2018-10-14 21:14:32 +02:00
Jonny Tischbein
5fd4402074
code standards + fixing navigation links to /contact/...
2018-10-14 20:03:22 +02:00
Philipp Holzer
753f61f633
FollowUp Acctlink move
2018-10-14 10:31:11 +02:00
Philipp Holzer
3f729df258
Renamed AcctLink to Acctlink
2018-10-13 19:03:38 +02:00
Philipp Holzer
508032cf9a
Move Module AcctLink
2018-10-13 18:32:14 +02:00
Jonny Tischbein
bfa05156ca
change links from /contacts to /contact
2018-10-13 13:29:56 +02:00
Jonny Tischbein
738cb4ace6
finish refactoring to Module\Contact
2018-10-13 11:35:51 +02:00
Jonny Tischbein
cdbddd0103
Renaming functions and class
2018-10-13 11:23:52 +02:00
Jonny Tischbein
93ab82b7f0
Rename Contacts:content function
2018-10-11 23:45:01 +02:00
Jonny Tischbein
ba95487abf
Upate Contacts module file
2018-10-11 23:41:27 +02:00
Jonny Tischbein
80ea86113d
Move mod Contacts to /src/Module
2018-10-11 23:14:12 +02:00
Philipp Holzer
ffbc688797
Curl Response Refactoring
...
- refactored Network::getCurl()
- replaced every Network::getCur() execution with a Curl Response
2018-10-10 21:50:13 +02:00
Philipp Holzer
2dec8895a9
Curl Response Refactoring
...
- extended Curl to parse Curl Response
- refactored Network::curl()
- replaced every Network::curl() execution with the new Curl container
2018-10-10 21:08:43 +02:00
Philipp Holzer
307286fc47
parameters and getURLpath to getURLPath
2018-10-10 01:18:47 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Jonny Tischbein
2db2b79bfa
Give Login Form previous URL to return to. SESSION var is empty if invalid page. empty args is catched by function
2018-10-09 21:38:17 +02:00
Jonny Tischbein
28456de249
Save return_url before login. Add login mask to many sites if not logged in.
2018-10-07 16:34:08 +02:00
Hypolite Petovan
743e7d3ecb
Merge pull request #5815 from annando/ap2
...
The ActivityPub functionality is now split into 4 files
2018-10-04 09:10:17 -04:00
Jonny Tischbein
ee32459358
goaway with argument
2018-10-03 18:28:04 +02:00
Jonny Tischbein
3c9b33176f
Static reason for login failure to prevent bruteforce
2018-10-03 14:32:16 +02:00
Jonny Tischbein
3ecabe0291
Fix goaway url when login failed + using info to display message
2018-10-03 13:10:49 +02:00
Michael
3ab837f3c7
Functionality is now split
2018-10-03 09:15:38 +00:00
Michael
4d2e5c2bbe
AP class will be split in processor, receiver and transmitter
2018-10-03 06:15:07 +00:00
Michael
76cdc9e594
Renamed class
2018-10-02 20:14:28 +00:00
Michael
518d461a8f
Issue 5811: "objects" instead of "object"
2018-10-02 20:12:38 +00:00
Michael
a8b776c189
There is now "rawContent" for technical endpoints
2018-09-30 13:15:10 +00:00
Michael
cb44aa83c7
Object instead of Display
2018-09-30 12:21:57 +00:00
Michael
82987d018a
Some changes for better code quality
2018-09-30 07:21:57 +00:00
Michael
5e3f71680c
Disabled logging
2018-09-24 21:47:10 +00:00
Michael
8c7e5bb776
all endpoints are now working
2018-09-23 17:29:31 +00:00
Michael
c083ae047c
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
2018-09-22 15:18:53 +00:00
Michael
b44fc62708
Improvements to signature check, private posts do work now again
2018-09-21 22:31:33 +00:00
Michael
11310f4cf0
Relocated AP signature functions, reduced magic auth functions
2018-09-20 18:16:14 +00:00
Michael
91d1b4de5d
We now use the conversation data with AP
2018-09-17 05:51:05 +00:00
Michael
699a4140f9
Now sending does finally work - and some AP standards are improved as well
2018-09-16 20:12:48 +00:00
Hypolite Petovan
9d0a6f90b6
Update "mrpetovan" email address
...
- Fix Tobias' email address
- Fix copypasted doc block in Console/PostUpdate
2018-09-15 19:28:38 -04:00
Michael
96f575fe28
Processing of personal inbox enabled
2018-09-15 10:14:56 +00:00
Michael
61e2c7d20d
Added AP to many network conditions / enabling inbox processing
2018-09-14 16:51:32 +00:00
Michael
f7b03bc5f3
Missing $
2018-09-12 21:33:44 +00:00
Michael
67fa0ed433
Signature check added
2018-09-12 21:30:10 +00:00
Michael
8c07baf54b
Better http answers
2018-09-12 06:01:28 +00:00
Michael
0a5476591d
Activitity pub - first commit with much test code
2018-09-10 21:07:25 +00:00
Michael
e9a73e4480
Fix fatal error due to missing "use"
2018-09-06 13:27:03 +00:00
Michael
380eeaab88
Still there had been notices - must have a good camouflage
2018-08-31 05:08:22 +00:00
Michael
2079caea14
Issue 3501: Mail contacts can be added again
2018-08-26 19:49:39 +00:00
Michael Vogel
7f3fb34c24
Some easy to replace "q" calls have been replaced by "DBA" calls ( #5632 )
...
* Some easy to replace "q" calls have been replaced by "DBA" calls
* Simplified the GUID creation
* And one in the API ...
* And OStatus has got some DBA calls more
* Just some more replaced database calls
* The event query is now simplified
* Events are now shown again
* subthread is now using the DBA calls as well
* Some more replaced database calls
* And some more replaced database calls and prevented notices
* Better use gravity
* Some more replaced database stuff
* Some more replaced database calls in DFRN.php
* The gcontact class now has got the new DBA functions as well
* The Contact class is now changed to new database functions as well
* Small correction
* We can now delete without cascade
* One more functionality is safe for future changes
2018-08-19 12:46:10 +00:00
Michael Vogel
c72c64a6d8
Notices again ( #5543 )
...
* And again notices
* Notices in the directory
* Much more places
* Fix some double $
* Notice in ping
* Missing field
* Fix: We now remove deleted users from the directory
* Some more stuff
* Notices when removing users
* Added logging
* More logging
* Two more
2018-08-02 07:21:01 +02:00
Roland Häder
4d39164c1e
[WIP] Rewrite to Proxy class: ( #5507 )
...
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
will do this for us
- renamed those proxy_*() functions to better names:
+ proxy_init() -> Proxy::init() (public)
+ proxy_url() -> Proxy::proxifyUrl() (public)
+ proxy_parse_html() -> Proxy::proxifyHtml() (public)
+ proxy_is_local_image() -> Proxy::isLocalImage() (private)
+ proxy_parse_query() -> Proxy::parseQuery() (private)
+ proxy_img_cb() -> Proxy::replaceUrl() (private)
* Ops, need to set $a here ...
* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule
* Ops, no need for own instance of $a when self::getApp() is around.
* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module
* No instances from utility classes
* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`
* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.
* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.
* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Hypolite Petovan
67dc08d120
Enforce systen.register_policy value type
2018-07-16 19:38:19 -04:00
Hypolite Petovan
762a786611
Replace direct accesses to App->config by Config::get/set calls
2018-07-16 19:38:16 -04:00
Hypolite Petovan
e952d6677b
Rename App->path to App->urlpath
2018-07-16 19:38:13 -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
rabuzarus
04fe3acb69
port hubzillas OpenWebAuth - fix method call
2018-06-20 23:29:36 +02:00
rabuzarus
e4aaf8eb16
port hubzillas OpenWebAuth - fix some code standards violations
2018-06-20 19:32:26 +02:00
rabuzarus
149142b4bc
port hubzillas OpenWebAuth - rename Verify class to OpenWebAuthToken
2018-06-20 19:24:02 +02:00
rabuzarus
f0235c4a98
port hubzillas OpenWebAuth - rename some methods and classes
2018-06-20 18:38:23 +02:00
rabuzarus
b65e4b278b
port hubzillas OpenWebAuth - use Contact::getIdForURL to query for contact entry
2018-06-19 16:15:28 +02:00
rabuzarus
9195ea26b1
port hubzillas OpenWebAuth - add some notes to the doxygen to refer to hubzilla's source code
2018-06-19 13:30:55 +02:00
rabuzarus
1c7f4e3c63
port hubzillas OpenWebAuth - remote authentification
2018-06-18 23:05:44 +02:00
Tobias Diekershoff
f7c24a20ae
cite: just some small styling thing
2018-05-20 08:43:43 +02:00
Tobias Diekershoff
2798d4ea4d
missing sign
2018-05-19 19:08:50 +02:00
Tobias Diekershoff
4f8530070b
removed one line too much
2018-05-19 19:07:13 +02:00
Tobias Diekershoff
e02093c7ea
text of the priv. statement can now be shown outside of the module
2018-05-19 18:55:29 +02:00
Roland Häder
6129eb1623
OpenId possibly fixed:
...
- The LightOpenId class' constructor now requires the hostname from where the
requested started, added it now
- sometimes need to invoke get_app() as $a was not around
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-05-17 00:24:25 +02:00
Tobias Diekershoff
72a2896d1f
profile data is transmitted to other nodes
2018-04-16 09:27:16 +02:00
Tobias Diekershoff
4b7014d367
move the tos module to src/Module
2018-04-03 16:33:10 +02:00
Hypolite Petovan
a5bb8f4e7d
Strip strtolower from Module\Hashtag
2018-03-29 00:47:14 -04:00
rabuzarus
c209853e1d
add dependencies (require_once) to hashtag module
2018-03-16 14:44:51 +01:00
rabuzarus
86d84e5f31
fix code standards
2018-03-16 14:27:04 +01:00
rabuzarus
96c086ea13
hashtag autocomplete
2018-03-16 13:55:26 +01:00
Michael Vogel
25fbdd21c5
Merge pull request #4429 from MrPetovan/bug/4426-handle-auth-exceptions
...
Handle authentication exceptions in Login module
2018-02-09 19:03:52 +01:00
Hypolite Petovan
8a9917857e
Handle authentication exceptions in Login module
...
- Break down large methods into smaller ones
- Add more authentication exception
- Add a legacy User::authenticate method
2018-02-09 00:08:01 -05:00
Michael
15a857e411
Line endings are converted to unix style
2018-02-09 03:49:49 +00:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
236616995b
Remove references to library/openid
2018-01-27 18:28:04 -05:00
Adam Magness
9b8599b619
Move functions to system
...
move some functions to system
2018-01-27 11:59:10 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
1eb7c19c1e
Move multiple functions
...
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness
cd3643d174
Move xml_status and http_status_exit
...
move functions
2018-01-26 23:37:55 -05:00
Adam Magness
b4d0df18c5
Remove old file and requires
...
Remove pgettext.php and remove require_once calls
2018-01-22 18:03:26 -05:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e
Many t() calls
...
modify many t() calls.
2018-01-22 18:03:26 -05:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Sandro Santilli
032c87d718
Do not "pollute" global namespace with LightOpenID symbol
2018-01-16 13:11:38 +01:00
Sandro Santilli
6bc096b150
Fix LightOpenID usage
...
otherwise failing with:
PHP Fatal error: Class 'Friendica\\Module\\LightOpenID' not found in src/Module/Login.php on line 68
2018-01-16 10:48:59 +01:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
rabuzarus
1bce1b57eb
convert line endings
2018-01-11 01:06:00 +01:00
rabuzarus
d123a6523d
I shouldn't try to code today
2018-01-10 23:18:04 +01:00
rabuzarus
b1ae8151c2
fix a silly mistake
2018-01-10 22:57:27 +01:00
rabuzarus
4d5581a9d1
use self::getApp()->contact
2018-01-10 22:39:42 +01:00
rabuzarus
186b6330b9
Bugfix: getApp() in sessionAuth()
2018-01-10 22:21:22 +01:00
Hypolite Petovan
ae66bcaff3
Rename selectOne to selectFirst
2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590
Replace dba::select(limit => 1) by dba::selectOne
...
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
0aea615995
Add float casting back to dfrn_poll
...
- Add new line at end of new module files
2018-01-02 19:37:17 -05:00
Hypolite Petovan
9a3e773a9a
Merge branch 'develop' into task/3954-move-auth-to-src
2018-01-02 19:30:41 -05:00
Michael Vogel
a86ffd878d
Merge pull request #4152 from MrPetovan/task/4137-add-posts-only-feed
...
Add posts only feed
2018-01-02 10:14:56 +01:00
Hypolite Petovan
e7c53af6fa
Add Module\Oembed and Content\OEmbed
2017-12-31 20:58:09 -05:00
Hypolite Petovan
a75a27e08f
Add Feed module
...
- Update profile alternate links
2017-12-30 00:32:45 -05:00
Hypolite Petovan
2243a82bb4
Add new Module classes
...
- Add BaseModule
- Add Login module
- Add Logout module
2017-12-29 21:55:13 -05:00