Michael
c1d99d6c4c
Most user-item traces removed
2021-01-31 23:37:34 +00:00
Hypolite Petovan
82e094179c
Rename notify classes according the feature name, not the table name
2021-01-24 09:33:23 -05:00
Michael
4157db5473
"item" is replaced by "post-view" / postupdate check added
2021-01-17 20:32:13 +00:00
Michael
2b1d0b9db8
"selectForUser" and "" selectFirstForUser" is now moved to Post
2021-01-16 22:37:27 +00:00
Michael
2fa692bcce
New post class in the rest of the classes
2021-01-16 04:16:09 +00:00
Michael
d666501ee0
Fix fatal error
2020-12-29 22:14:54 +00:00
Hypolite Petovan
8c1e2b9800
Throw exception when item doesn't exist in Factory\Api\Mastodon\Status->createFromUriId
...
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-750464977
2020-12-27 21:15:21 -05:00
Michael
deb6b7a7c3
Fallback to database lock if locking fails
2020-11-16 19:46:20 +00:00
Michael
ba4685dfb1
API: Support for reshared items
2020-11-01 11:01:57 +00:00
Michael
c030275815
API: accounts and trends
2020-10-31 22:32:26 +00:00
Michael
e6030e5f82
API: Media attachments are now supported
2020-10-31 16:10:27 +00:00
Michael
a012234d82
Publish the provider fields in the API
2020-10-26 19:40:09 +00:00
Michael
44a4b66539
Improved self contact detection
2020-10-25 20:40:25 +00:00
Michael
d8d96e6e61
Display the user fields for the admin account
2020-10-25 20:32:45 +00:00
Michael
319ceeda3b
Publish the profile fields
2020-10-25 18:21:18 +00:00
Michael
a643888aeb
More data for the Mastodon status class
2020-10-25 16:13:31 +00:00
Michael
097e3d6dcc
Fix Fatal error: Uncaught TypeError: Argument 1 passed to Friendica\Model\Contact::getByURL() must be of the type string, null given
2020-10-20 15:15:33 +00:00
Philipp Holzer
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
Philipp Holzer
c2b8c65104
Merge "notification" routes
2020-01-28 23:21:24 +01:00
Philipp Holzer
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
Philipp Holzer
ac1a20e5fd
Fix Introductions tab
2020-01-26 21:39:50 +01:00
Philipp Holzer
0840938dff
Rename classes
...
- Repository/Model Notification => Notify
- Factory/Object Notification => Notification
2020-01-26 20:30:24 +01:00
Philipp Holzer
b85511b00d
Improvements:
...
- Fix API-select
- Introduce OTYPE-constants
- Rename `IntroductionFactory` methods
2020-01-26 14:33:10 +01:00
Philipp Holzer
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
Philipp Holzer
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
Philipp Holzer
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
Philipp Holzer
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
Philipp Holzer
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00