Commit Graph

12 Commits

Author SHA1 Message Date
Hypolite Petovan 6b555f64da Add \ReturnTypeWillChange attribute to methods inherited from native interfaces
- Part of https://github.com/friendica/friendica/issues/12011#issuecomment-1321796513
2022-11-25 08:13:05 -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
Philipp Holzer f273c27e3b
Fixups 2021-10-18 23:32:42 +02:00
Hypolite Petovan 1b4e3564a5 Add new paradigm classes for notify
- Create BaseDepository class
- Create Entity, Collection, Factory and Depository classes
- Create FormattedNotification Entity, Collection and Factory to remove business logic from Notify repository
- Create new NotificationCreationIntercepted exception to allow addons to cancel notification creation
- Remove unused frio notifications/notify.tpl template
2021-10-02 18:15:34 -04:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +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 3297d5c3e6 Create new ProfileField classes
- Create ProfileField model class
- Remove obsolete BaseCollection->models property
2020-01-22 19:42:34 -05: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 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