1
1
Fork 0
Commit graph

16 commits

Author SHA1 Message Date
aa5f0d5ec1 Added more type-hints and documented a few methods 2022-06-17 17:18:31 +02:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
0fc5f26ff7 Replace BaseEntity with BaseDataTransferObject class for API representation classes 2021-01-23 05:42:58 -05:00
bb99b0bebe Allow models extending BaseModel to have an id equal to 0 2020-11-05 10:03:40 -05:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
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
4a3544582c
Add parameter for "toArray()" method 2020-01-28 18:41:47 +01:00
443e106105
Fix missing notifications:
- Add namecache in enotify
- Add "unset()" in notify repository for additional field "abort"
- Add possibility for additional, non-saved fields in model
2020-01-28 18:41:45 +01:00
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
5ab898f67f Improve Base collection, model and repository
- Add collection pipeline methods
- Add save collection method
2020-01-20 07:32:49 -05:00
559879f41f Enable Model lazy updating based on only the changed data
- Simplify update decision in Database
2020-01-20 07:32:48 -05:00
d4b7278102 Remove unused code 2020-01-07 16:18:57 -05:00
c748a82e8f Introduce Repository, Factory, Collection, Model base classes 2020-01-06 21:39:00 -05:00
df0c05d635
Add Model\Introduction class to DI registry 2019-12-29 20:18:25 +01:00
ff69fa1629 Add new BaseModel class 2019-12-11 08:24:16 -05:00