Michael
57b8708425
Issue 11566: More detailled notification configuration
2022-06-05 11:41:08 +00:00
Michael
f6167b4cfd
New function to exit the program
2022-05-18 02:13:54 +00:00
Michael
4016a576d5
Log the execution time
2022-05-17 20:47:23 +00:00
Michael
972f91436c
Issue 11492: Improvements for contact import
2022-05-15 18:40:46 +00:00
Michael
171354181d
Use central function to fetch the global directory
2022-04-26 18:33:58 +00:00
Hypolite Petovan
967c438312
Enclose account settings panels in separate forms
...
- This prevents auto-filled password fields to abort settings save
- Move single-use settings/nick_set template HTML to settings/account
2022-04-24 08:36:53 -04:00
Hypolite Petovan
90368d7484
Remove unused settings_post and settings_form hooks
...
- Addons should use the addon_form hook instead
2022-04-24 01:21:49 -04:00
Hypolite Petovan
64330f9895
Move /settings to src/
2022-04-24 01:21:48 -04:00
Michael
b857c26999
Use "account-type" instead of "page-flags"
2022-02-09 05:56:12 +00:00
Hypolite Petovan
1a4ec00fec
Handle null value for last_used fields in TrustedBrowsers and AppSpecificPassword
...
- Remove obsolete reference to DBA::NULL_DATETIME
2022-01-22 21:10:20 -05:00
Philipp
c588b280d7
Fix all license header & be less aggressive
2022-01-07 00:35:28 +01:00
Balázs Úr
733f3de9ed
Add missing copyright text
2022-01-02 10:49:50 +01:00
Philipp
322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
...
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
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
Hypolite Petovan
65f74da45b
Add translation to required labels on input fields
...
- Normalize display of required label
- Remove unused field_richtext template
2020-12-19 22:52:45 -05:00
Michael
5dd426f526
Added option to stay on the local machine when clicking on a contact link
2020-09-30 17:30:26 +00:00
Michael
7ca7bf2b35
Simplified code in the uexport
2020-09-27 14:08:41 +00:00
Michael
845ab4b764
Prevent empty fields on contact export via CSV
2020-09-27 10:27:31 +00:00
Michael
4ba42bc06a
Issue 9281: User export now exports data
2020-09-27 10:24:15 +00:00
Michael
f56e765158
Issue 9153 Use "info" instead of "notice" on successful operations
2020-09-07 10:17:42 +00:00
Tobias Diekershoff
3a0e1eea04
Tyoi reported by silkevicious on Transifex
2020-09-04 14:17:58 +02:00
Michael
355284841a
Optionally display the resharer as icon
2020-08-26 12:33:17 +00:00
Hypolite Petovan
40d12b85c4
Loop on expected fields instead of existing fields in Settings\UserExport
...
- We don't delete fields, so there can be more fields in the database than in the DB structure
- Address https://github.com/friendica/friendica/issues/8877#issuecomment-663875895
2020-08-20 09:30:50 -04: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
Michael
f75009c20c
Some more forgotten DBA::close
2020-04-28 07:10:18 +00:00
Michael
d3722c945b
Improved Mime Type detection
2020-04-01 05:42:44 +00:00
Hypolite Petovan
e94911620a
Expand system.no_auto_update to community, profile statuses and contact conversations pages
...
- Update setting name and description
2020-02-23 19:38:24 -05:00
Hypolite Petovan
96ba2ac00d
Add new hide dislike user setting
2020-02-20 05:37:07 -05:00
Hypolite Petovan
1a8110234f
Move /settings/display module to src/
2020-02-20 05:37:06 -05: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
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +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
e8bf74914b
Update user import/export with profile fields
...
- Account for backward compatibility when exporting: add values for profile.is-default and profile.profile-name fields
- Account for forward compatibility when importing: migrate legacy profiles to custom profile fields
2020-01-22 19:42:37 -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
SpencerDub
2091ae0776
Fix "accout" typo
2020-01-21 22:22:45 -08:00
Hypolite Petovan
689c8ce0e3
Remove superfluous variable type hint in Module\Settings\Profile\Photo\Index
2020-01-20 13:28:41 -05:00
Hypolite Petovan
0d1befdf2d
Move /profile_photo to Module\Settings\Profile\Photo
2020-01-20 07:27:12 -05:00