Hypolite Petovan
3226b00995
Move settings/oauth to src/Module
...
- Add settings_content() permission checks to Module\BaseSettings
- Transform application token deletion GET links to POST forms to keep a single OAuth module class
2022-11-09 06:25:22 -05:00
Hypolite Petovan
a68c790c64
Create new Settings\RemoveMe module class
...
- Moved route from /removeme to /settings/removeme
- Combined templates into one
2022-11-08 18:33:54 -05:00
Tobias Diekershoff
028d823d96
add a help text to the profile settings indicating how to verify the homepage, or that the homepage is verified
2022-11-07 11:15:55 +01:00
Tobias Diekershoff
c8636db9f6
When the profile is updated, let the Worker verify the homepage link
2022-11-07 11:15:55 +01:00
Michael
1d7d8788bd
Support "fedifinder" to import contacts
2022-11-06 10:05:54 +00:00
Hypolite Petovan
dc2d96a502
Fix condition for follows export
...
- Select follows instead of followers
- Filter out archived contacts
2022-10-24 18:21:10 -04:00
Hypolite Petovan
142b399c84
Reformat Module\Settings\UserExport
...
- Import IHandleUserSessions and DbaDefinition object in constructor
- Convert remaining double quotes to single quotes
- Convert static methods to dynamic to use class properties
- Remove unused POST permission from route
2022-10-24 18:14:59 -04:00
Philipp Holzer
44a9683008
Move "submanage" Session value into own methods
2022-10-21 19:35:34 +02:00
Philipp Holzer
eecc456e0c
UserSession class [5] - Refactor src/Module/ files with DI
2022-10-20 22:59:39 +02:00
Michael
d47d78f2d4
old boot.php functions replaced in src/module (4)
2022-10-19 09:23:12 -04:00
Hypolite Petovan
956f196f7c
Align pConfig calls in Module\Settings\Display
2022-10-19 09:20:48 -04:00
Michael
ae6d67ed1f
old boot.php functions replaced in src/module (3)
2022-10-19 09:14:24 -04:00
Philipp Holzer
a2eb0c7378
Move Core\Session::remove() to DI::session()->remove()
2022-10-18 21:13:28 +02:00
Philipp Holzer
3a8bcb3fbf
Move Core\Session::set() to DI::session()->set()
2022-10-18 21:12:23 +02:00
Philipp Holzer
7ac86e49d1
Move Core\Session::get() to DI::session()->get()
2022-10-18 21:10:37 +02:00
Michael
fdfa1f8630
The notice and info have been moved
2022-10-17 18:55:22 +00:00
Michael
62a0d55fc8
The friendica constants have been moved to the app class
2022-10-17 10:37:48 +00:00
Michael
018858934b
The priority is now a class constant
2022-10-17 05:49:55 +00:00
Michael
6eb9dff807
Pagecache for frequently fetched pages
2022-09-06 06:04:41 +00:00
Michael
61cbcf85a1
Issue 11870: Weeks can now start at every day
2022-08-28 09:15:00 +00:00
Hypolite Petovan
4a885a13a6
Remove poke feature
2022-08-09 14:55:55 -04:00
Hypolite Petovan
49394aedeb
Add password length limit if using the Blowfish hashing algorithm
...
- Add new page to reset a password that would be too long
- Add support for pattern parameter in field_password
2022-08-01 12:12:18 -04:00
Philipp Holzer
a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
...
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Philipp Holzer
e4a83eafb8
Add a lot of log-points
2022-07-07 21:33:41 +02:00
Philipp Holzer
b67e488236
adaptions
2022-06-26 10:13:32 +02:00
Philipp Holzer
0223c030a9
Improve 2 factor usage
2022-06-25 23:04:00 +02:00
Michael
9bb371850a
Different approach for empty values
2022-06-06 07:35:28 +00:00
Michael
62701b49e1
Use constants
2022-06-06 04:44:29 +00:00
Michael
da33517a2d
Rearrange the notification settings
2022-06-05 21:19:21 +00:00
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 Holzer
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 Holzer
95fbe45bcc
Bump bacon/bacon-qr-code to 2.0.4
2021-12-11 17:26:39 +01:00
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
561aba18e3
Introduce Response
for Modules to create a testable way for module responses
2021-11-27 12:40:38 +01: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
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 Holzer
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 Holzer
dab9e13c69
Replace $this->l10n->t() with $this->t() for Modules
2021-11-18 23:23:58 +01:00
Philipp Holzer
ce578a7745
Replace Module::init() with Constructors
2021-11-17 22:14:33 +01:00
Philipp Holzer
5879535822
Switch static::$parameters
to $this->parameters
2021-11-14 23:49:07 +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
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 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
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 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
c8d2c87af0
Issue 10640 - Inverse user display settings
2021-09-01 18:29:45 +00:00
Philipp Holzer
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