Philipp
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
...
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Michael Vogel
2bb725fa30
Apply suggestions from code review
...
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-09-08 03:39:51 +02:00
Michael
59374eb6c6
Use "StatusCounts" class
2020-09-07 18:24:11 +00:00
Michael
1bca280eae
StdClass instead of arrays
2020-09-07 14:34:05 +00:00
Michael
db6282b5e2
API: Counts added, local query improved
2020-09-06 07:12:04 +00:00
Michael
cd3d4ae4e6
API: New entity "status"
2020-09-03 18:57:18 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
Michael
0c73531da1
Poco and gcontact (mostly) removed
2020-08-01 16:15:18 +00:00
Michael
71b6226909
Some more avatar function replacements
2020-07-28 19:30:55 +00:00
Hypolite Petovan
afb882048e
Generate callstack value from inside Profiler::saveTimestamp
...
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
Michael
fc0312451d
Changed parameter order for getByURL
2020-07-15 17:06:48 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
173264eaab
Add Twitter User Object and Factory
2020-06-08 21:51:42 -04:00
Michael
b837c487c5
Fix "gravity" notice
2020-05-29 21:41:10 +00:00
Michael
973abb6196
Replace "id = parent" checks with "gravity" checks
2020-05-27 12:19:06 +00:00
Michael
0cf517ad76
Use constants for the BBCode modes
2020-05-16 16:28:15 +00:00
Michael
3bd1f3a836
No more gender
2020-02-16 10:55:18 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
608e634858
Update Mastodon API with new profile field entity
2020-01-29 23:30:38 -05:00
Hypolite Petovan
07a4bb73fa
Add DDD classes for Mastodon\Field entity
2020-01-29 23:26:07 -05:00
nupplaPhil
c2b8c65104
Merge "notification" routes
2020-01-28 23:21:24 +01:00
nupplaPhil
582f6bd4a3
Refactor API notification usage
...
- Remove "mapFields()" from BaseModel
- Add new Notification API entity (including collection)
- Add new NotificationFactory method "getApiList()"
2020-01-28 21:28:57 +01:00
Hypolite Petovan
bd910342df
Add custom emojis Mastodon API endpoint
2020-01-28 08:14:48 -05:00
Hypolite Petovan
1ac9107e5f
Move Mastodon API factories to Factory\Api\Mastodon
2020-01-28 07:33:55 -05:00
Hypolite Petovan
0de8e4db08
Move Mastodon API entities to src/Object
2020-01-27 20:01:32 -05:00
nupplaPhil
ac1a20e5fd
Fix Introductions tab
2020-01-26 21:39:50 +01:00
nupplaPhil
0840938dff
Rename classes
...
- Repository/Model Notification => Notify
- Factory/Object Notification => Notification
2020-01-26 20:30:24 +01:00
nupplaPhil
b85511b00d
Improvements:
...
- Fix API-select
- Introduce OTYPE-constants
- Rename `IntroductionFactory` methods
2020-01-26 14:33:10 +01:00
nupplaPhil
74f3a2f90c
Fix API result, add PHPDoc and cleanup object construction
...
Fix missing getters
fix data array
fix missing "$" for template-variables
Remove lazy-loaded parent notification instance (for now..)
2020-01-25 21:15:01 +01:00
nupplaPhil
0850fb88dd
ReWork Notification Model/Module/Object/Repository/Factory
...
- Introduce Repository for interaction with "notify" table
- Introduce Factory for read-only notification objects (they're just loosely based on notification the table!)
- Introduce Objects for type-safe usage at the presentation layer
- Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
2020-01-25 19:58:22 +01:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
nupplaPhil
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
Hypolite Petovan
6b8db5ad13
Update the Introductions domain to use repository, model and collection
2020-01-06 21:39:05 -05:00
Hypolite Petovan
5a1abb8c7d
Introduce Mastodon entity factories and API\Entity
2020-01-06 21:39:05 -05:00
Hypolite Petovan
efadab66c5
Update wrong/missing references to classes
2019-12-29 21:51:16 -05:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
nupplaPhil
673c4537e4
Session - Remove unneeded cookie parameter
2019-12-29 00:03:58 +01:00
nupplaPhil
1408908c84
Refactor Session Handling (make it more simple & handler are now handler again)
2019-12-11 20:30:31 +01:00
nupplaPhil
b9f8762eb3
Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase
2019-12-10 22:29:49 +01:00
nupplaPhil
eca3396851
rename usage
2019-12-10 21:52:23 +01:00
nupplaPhil
07d2909927
double use
2019-12-10 21:51:06 +01:00
nupplaPhil
ce2610000b
Renaming class
2019-12-10 08:49:33 +01:00
nupplaPhil
cad7e534a4
Add phpdoc
2019-12-10 00:50:05 +01:00
nupplaPhil
555513e4b4
Add Session Management instances (including Depenency Injection)
...
- Prerequesite for mocking Sessions
- Reduce "App" class complexity
2019-12-10 00:44:56 +01:00
Philipp Holzer
4e32d46f97
switch case
2019-10-22 22:48:54 +02:00
Philipp Holzer
6b2c28e2d7
Add checks & realpath() usage
...
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp Holzer
0e84a843a4
Add Fallback in case the logfile isn't accessible.
...
- Fixes https://github.com/friendica/friendica/issues/7756#issuecomment-544227862
2019-10-21 21:53:55 +02:00