Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Roland Häder
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
Hypolite Petovan
0fc5f26ff7
Replace BaseEntity with BaseDataTransferObject class for API representation classes
2021-01-23 05:42:58 -05:00
Hypolite Petovan
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
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
nupplaPhil
4a3544582c
Add parameter for "toArray()" method
2020-01-28 18:41:47 +01:00
nupplaPhil
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
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
Hypolite Petovan
5ab898f67f
Improve Base collection, model and repository
...
- Add collection pipeline methods
- Add save collection method
2020-01-20 07:32:49 -05:00
Hypolite Petovan
559879f41f
Enable Model lazy updating based on only the changed data
...
- Simplify update decision in Database
2020-01-20 07:32:48 -05:00
Hypolite Petovan
d4b7278102
Remove unused code
2020-01-07 16:18:57 -05:00
Hypolite Petovan
c748a82e8f
Introduce Repository, Factory, Collection, Model base classes
2020-01-06 21:39:00 -05:00
nupplaPhil
df0c05d635
Add Model\Introduction class to DI registry
2019-12-29 20:18:25 +01:00
Hypolite Petovan
ff69fa1629
Add new BaseModel class
2019-12-11 08:24:16 -05:00