Commit graph

45 commits

Author SHA1 Message Date
ae6d67ed1f old boot.php functions replaced in src/module (3) 2022-10-19 09:14:24 -04:00
62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
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
f6167b4cfd New function to exit the program 2022-05-18 02:13:54 +00:00
4016a576d5 Log the execution time 2022-05-17 20:47:23 +00:00
c588b280d7
Fix all license header & be less aggressive 2022-01-07 00:35:28 +01:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
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
489cd0884a
Make BaseModule methods dynamic 2021-11-14 23:49:06 +01:00
714f0febc4
Replace $parameters argument per method with static::$parameters 2021-11-14 23:49:05 +01:00
3972fe62fe More replaced "q" calls 2021-10-08 04:10:45 +00:00
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
9f01052dd2 Removed some more unused "use" 2021-08-08 20:03:28 +00:00
28090bd793 Get rid of App->user completely 2021-08-08 19:30:21 +00:00
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
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
8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +00:00
b892db0cf3 All item selects are now done by the post class 2021-01-19 07:23:01 +00:00
7ca7bf2b35 Simplified code in the uexport 2020-09-27 14:08:41 +00:00
845ab4b764 Prevent empty fields on contact export via CSV 2020-09-27 10:27:31 +00:00
4ba42bc06a Issue 9281: User export now exports data 2020-09-27 10:24:15 +00:00
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
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
5670c19d5c Move/rename base module classes 2020-01-29 23:23:07 -05:00
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
SpencerDub
2091ae0776
Fix "accout" typo 2020-01-21 22:22:45 -08:00
174129af94
add missing namespaces/fix wrong class-names 2020-01-19 16:31:35 +01:00
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
8c03bdada9 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
bd62d548db Added parameters 2019-11-05 20:22:54 +00:00
abe6724629 Added parameter to rawContent 2019-11-05 19:16:26 +00:00
d3122c396e really there is no App 2019-11-03 15:53:32 +01:00
9b03e2a564 there was no App 2019-11-03 15:07:29 +01:00
0c873a0548 mv q() to DBA::select() 2019-11-03 14:03:11 +01:00
e5e87d546d we only need one contact export, D* _only_ exports the entire profile 2019-11-03 12:59:14 +01:00
955a84a266 added export and import of followed contacts to and from CSV files 2019-11-03 00:12:16 +01:00
8bea9e7523 mv URL path uexport -> userexport 2019-11-02 12:44:46 +01:00
34932e12bf mv q() to DBA::p() 2019-11-02 12:12:29 +01:00
15cdfdd414 mv Uexport to UserExport 2019-11-02 11:36:31 +01:00
Renamed from src/Module/Settings/Uexport.php (Browse further)