Commit graph

42 commits

Author SHA1 Message Date
Philipp Holzer 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 Holzer 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
Philipp Holzer 489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
Philipp Holzer 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
Philipp Holzer b5d994394e
Fixing PUBLIC usage, Fixing DB-View, Creating tests 2021-10-18 23:32:45 +02:00
Philipp Holzer 5fecc9ecf7
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields 2021-10-18 23:32:44 +02:00
Philipp Holzer f273c27e3b
Fixups 2021-10-18 23:32:42 +02:00
Philipp Holzer 838cdac5d1
Move ProfileFieldRepository::migrateFromLegacyProfile() & delete old repository 2021-10-18 23:32:41 +02:00
Philipp Holzer f403851946
Move ProfileFieldRepository::updateCollectionFromForm() 2021-10-18 23:32:40 +02:00
Philipp Holzer 6f692b857b
Move ProfileField::selectByContactId() and ProfileField::selectByUserId() 2021-10-18 23:32:39 +02:00
Philipp Holzer 1c0f92c382
Move ProfileField from Model to Entity 2021-10-18 23:32:38 +02:00
Philipp Holzer f73e4adc44
Add explicit check for PermissionSet and ProfileField 2021-10-07 20:48:39 +02:00
Philipp Holzer 62eb16e9ad
Migrate PermissionSet to Depository paradigm 2021-10-07 19:53:38 +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 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 bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +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
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael 3fc3ded750 Useless info messages removed 2020-07-23 06:11:21 +00:00
Steffen K9 3ec23a4c70
Remove 'this' from 'View this profile' 2020-02-17 23:42:35 +01:00
Michael 8969af04f9 Duplicated "hide-friends" setting removed 2020-02-10 23:11:28 +00:00
Michael Vogel e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
Hypolite Petovan 5552f5ee72 Accept empty values for profile birthday 2020-02-09 02:17:48 -05:00
Hypolite Petovan 557ece7d5a Remove unused translated yes/no labels in converted checkbox field definitions 2020-02-06 10:25:36 -05:00
Hypolite Petovan 40db6baa6b Rename hide friends checkbox field variable 2020-02-05 21:37:58 -05:00
Hypolite Petovan 5670c19d5c Move/rename base module classes 2020-01-29 23:23:07 -05:00
Hypolite Petovan 18cfd8dfaa Remove references to deprecated profile.is-default and profile.profile-name fields 2020-01-22 19:42:37 -05:00
Hypolite Petovan 64c05f2280 Add custom fields help text 2020-01-22 19:42:36 -05:00
Hypolite Petovan cc007f715d Add sortability to custom profile fields form 2020-01-22 19:42:36 -05:00
Hypolite Petovan 6657cf7bb1 Rework profile setting page with custom fields 2020-01-22 19:42:35 -05:00
Hypolite Petovan d475cb5028 Replace advanced profile display with custom profile fields
- Merge all profile/advanced.tpl theme templates into profile/index.tpl
- Remove obsolete Model\Profile::getAdvanced method
2020-01-22 19:42:34 -05:00
Hypolite Petovan d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00