Commit graph

135 commits

Author SHA1 Message Date
Philipp
95fbe45bcc
Bump bacon/bacon-qr-code to 2.0.4 2021-12-11 17:26:39 +01:00
Philipp
2e4d654c0a Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Philipp
561aba18e3
Introduce Response for Modules to create a testable way for module responses 2021-11-27 12:40:38 +01:00
Philipp
8bdd90066f
Make BaseModule a real entity
- Add all dependencies, necessary to run the content (baseUrl, Arguments)
- Encapsulate all POST/GET/DELETE/PATCH/PUT methods as protected methods inside the BaseModule
- Return Module content ONLY per `BaseModule::run()` (including the Hook logic there as well)
2021-11-27 12:40:36 +01:00
Hypolite Petovan
23e1130264 Move title attribute to <time> tag
- Use correct machine-readable value in datetime attribute
2021-11-21 22:51:21 -05:00
Philipp
645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
Hypolite Petovan
89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
Philipp
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules 2021-11-18 23:23:58 +01:00
Philipp
ce578a7745
Replace Module::init() with Constructors 2021-11-17 22:14:33 +01:00
Philipp
5879535822
Switch static::$parameters to $this->parameters 2021-11-14 23:49:07 +01:00
Philipp
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
Michael
359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
Hypolite Petovan
cb86048b8a Add redirection to clear the owner cache after profile update 2021-10-21 19:11:28 -04:00
Michael
17aa00bff8 Fix: Use correct condition to update the avatar 2021-10-21 17:19:41 -04:00
Michael
3781b34272 PROFILE_PHOTOS is mostly removed and replaced 2021-10-19 19:15:28 +00:00
Philipp
b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Philipp
5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Philipp
f273c27e3b
Fixups 2021-10-18 23:32:42 +02:00
Philipp
838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository 2021-10-18 23:32:41 +02:00
Philipp
f403851946
Move ProfileFieldRepository::updateCollectionFromForm() 2021-10-18 23:32:40 +02:00
Philipp
6f692b857b
Move ProfileField::selectByContactId() and ProfileField::selectByUserId() 2021-10-18 23:32:39 +02:00
Philipp
1c0f92c382
Move ProfileField from Model to Entity 2021-10-18 23:32:38 +02:00
Michael
a33185f835 Use a constant for the profile photo album 2021-10-14 04:12:00 +00:00
Michael
13827edd2c New photo field "photo-type" as preparation for banners 2021-10-11 14:21:10 +00:00
Hypolite Petovan
80a8cd86c4
Merge pull request #10836 from nupplaphil/feat/depository_permissionset
Migrate PermissionSet to Depository paradigm
2021-10-08 09:39:39 -04:00
Michael
3972fe62fe More replaced "q" calls 2021-10-08 04:10:45 +00:00
Philipp
f73e4adc44
Add explicit check for PermissionSet and ProfileField 2021-10-07 20:48:39 +02:00
Philipp
62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +02:00
Michael
c8d2c87af0 Issue 10640 - Inverse user display settings 2021-09-01 18:29:45 +00:00
Philipp
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Michael
ce9da778b9 Clarify XMPP profile field description 2021-08-16 06:15:18 +00:00
Michael
c81e81dc8d "getUserId" is now "getLoggedInUserId" 2021-08-09 20:33:46 +00:00
Michael
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
Michael
f5e84c1ff0 Use owner not profile 2021-08-09 15:38:22 +00:00
Michael
4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
Michael
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael
bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
Michael
a9d7e5b29e Removed unused use 2021-08-08 19:43:15 +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
0ab24510ef Centzralized functionality to update and publish profile changes 2021-06-15 11:12:44 +00:00
Hypolite Petovan
acbcc56754 Prevent settings/userexport to be used by anonymous users
- Add forbidden exceptions in module methods
- Add runtime exceptions in individual export methods
2021-04-01 19:29:21 -04:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael
8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
Hypolite Petovan
5a949911ba Add trusted browsers user setting module
- Add trusted browsers help section
2021-01-23 05:42:59 -05:00
Hypolite Petovan
3e257d4266 Move all two-factor authentication classes in Security\TwoFactor 2021-01-23 05:42:58 -05:00
Michael
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
Hypolite Petovan
b0234f4ef9 Remove autocomplete from 2FA code input fields 2020-12-21 00:25:21 -05:00