Commit Graph

220 Commits

Author SHA1 Message Date
Michael 15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
Michael b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael 28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
Michael fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael 5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
Michael c52b8595e8 theme infos are now bundled in a single array 2021-07-25 19:07:03 +00:00
Michael 0c0abd9238 Replaced argv/argc with replacement functions 2021-07-25 13:08:22 +00:00
Michael 2502a9192d Many more app-variables removed 2021-07-24 10:09:39 +00:00
Michael 2030691f9f Improved event storing / improved performance when fetching events 2021-07-18 15:05:46 +00:00
Michael a9302c30c3 simplify the calendar download 2021-05-29 17:09:45 +00:00
Michael 5b2c4d70be Avoid notices whwn creating events 2021-04-11 06:53:01 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 6e1483545e Support for message delivering via uri-id 2021-02-14 14:24:48 +00:00
Michael 65c8f33754 Post class introduced in "mod" and "include" 2021-01-16 04:11:28 +00:00
Michael 2987070d93 Improved direction and protocol detection 2021-01-09 12:59:30 +00:00
Hypolite Petovan f0267fc441 Simplify user public contact id retrieval in mod/events 2020-12-30 21:10:39 -05:00
Michael c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
Hypolite Petovan 49c1f5c55c Improve handling of the visibility parameter of the new ACL
- Add backward compatibility with old ACL parameters
2020-12-21 22:23:13 -05:00
Hypolite Petovan a7b8c4f8d5 Append author's contact id to allowed contacts to prevent empty ACL for private events 2020-12-21 00:27:12 -05:00
Michael 84a9a5b174 Fixes several notices 2020-09-19 03:16:26 +00:00
Hypolite Petovan 2e286d6a57 Move calendar/event stylesheets/scripts registration to modules
- Add media parameter to Page->registerStylesheet
- Fixes CSS precedence with custom theme stylesheet
2020-08-15 18:56:17 -04:00
Michael 0007da8630 EOL removed 2020-07-23 06:25:01 +00:00
Michael 3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Michael c947b7f211 "print_r" in logging replaced / obsolete stuff removed 2020-06-29 20:22:00 +00:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Hypolite Petovan f2d917114f Move Model\Profile::getTabs to new Module\BaseProfile class 2020-01-26 14:21:18 -05:00
Philipp Holzer d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
Philipp Holzer 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
Hypolite Petovan b12c646503 Initial event share status doesn't depend on the user's default permissions anymore 2020-01-12 12:16:56 -05:00
Hypolite Petovan 465d7e6751 Use default user permissions when creating new event 2020-01-05 17:09:14 -05:00
Philipp Holzer 3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
Philipp Holzer 6d7362da41
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:09 +01:00
Hypolite Petovan efadab66c5 Update wrong/missing references to classes 2019-12-29 21:51:16 -05:00
Philipp Holzer 33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand() 2019-12-29 20:17:51 +01:00
Philipp Holzer 8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
Philipp Holzer 388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
Philipp Holzer aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security" 2019-12-27 22:19:28 +01:00
Hypolite Petovan 3694396758 Rename wrong desc form value name in mod/events
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568783457
2019-12-24 12:44:36 -05:00
Hypolite Petovan f989c331a3 Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
- Addresses https://github.com/friendica/friendica/issues/7676#issuecomment-560503744
2019-12-03 06:59:51 -05:00
Hypolite Petovan ae3d4f63a3 Use visibility tags input for the default ACL selector
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00
Philipp Holzer c9e1098dd2
Adapt naming convention 2019-10-23 21:39:00 +02:00
Philipp Holzer 5843a80b6c
Move perms2str to ACLFormatter::aclToString()
- including new tests
2019-10-23 00:54:34 +02:00
Hypolite Petovan 2db6171641 Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/ 2019-10-15 09:01:17 -04:00
Hypolite Petovan c2c3bb2074 Remove deprecated defaults() call in mod/events 2019-09-06 08:33:41 -04:00
Michael 41dc243186 Fix delivery counter for poking / unify delivery commands 2019-06-10 14:19:24 +00:00
Hypolite Petovan c65faecc8c Add current tab parameter to Model\Profile::getTabs 2019-05-20 15:09:33 -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 dbc6eb5422 Remove unused code in mod/
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
2019-01-21 10:53:32 -05:00
Hypolite Petovan 895b3abf32 Remove/replace killme() with *exit() 2019-01-21 09:49:17 -05:00