Alexei Sorokin
a0f72fe5c6
Avoid ordering just by a timestamp
...
Try to also employ an id when possible.
Involves reworking some of the indices.
2021-07-16 19:44:41 +01:00
Alexei Sorokin
3429a3644d
[Favorite] Fix "Properly trigger DisfavorNotice on profile deletion"
...
Calling find() inside delete() is probably not a good idea.
2021-07-16 19:44:38 +01:00
Diogo Cordeiro
165edc2609
[CORE] Add GNUSOCIAL_ENGINE_REPO_URL and increase usage of GNUSOCIAL_ENGINE_URL
2021-07-16 19:44:36 +01:00
Alexei Sorokin
eab5725698
[DATABASE] Disable 'NULL' strings evaluation as SQL NULLs
...
Use $object->sqlValue('NULL') (identical to DataObject_Cast'ing) instead and
fix related issues like (email|sms)settings considering these NULLs as a
false positive for the E-Mail address still being set when it's been removed.
There could also be security implications to the now-disabled approach of
considering 'NULL' strings as SQL NULLs.
2021-07-16 19:44:35 +01:00
tenma
06d7e5bf06
[MODULES] Fix VERSION constant to MODULE_VERSION in various modules
2021-07-16 19:44:35 +01:00
Alexei Sorokin
3f17a0efea
[DATABASE] Introduce a bool type in schema
...
PostgreSQL has a clear distinction between integers and booleans, so it makes
sense to draw a clear line.
2021-07-16 19:44:35 +01:00
Alexei Sorokin
6095a6de64
[DATABASE] Only use single quotation marks for SQL strings
...
Double quotation marks are only used for identifiers in the SQL standard.
2021-07-16 19:44:35 +01:00
Miguel Dantas
ab3e8ce21d
[LIB_REFACTOR] Fix requires
2021-07-16 19:44:34 +01:00
Miguel Dantas
2ab2e22a36
[LIB_REFACTOR] Moving files into separate semantic categories
2021-07-16 19:44:34 +01:00
Diogo Cordeiro
20a6f1d4f4
[CORE] Plugin API now extends a new Module API
2021-07-16 19:44:33 +01:00