Hugo Sales
8506a0248d
[UTIL][Common] Fix import
2021-09-14 13:05:54 +01:00
Hugo Sales
a2269f5745
[UTIL][Common] Implement 'isSystemPath'
2021-09-14 13:05:54 +01:00
Hugo Sales
8716d700a6
[CORE][DB] Fix uses of db tables after previous restructure
2021-09-14 13:05:53 +01:00
Hugo Sales
365168d03e
[EXCEPTION] Add ServerException and inherit previous throwable
...
imported from v2/5ea5d3007563f76a77efbfb66936315441922542
2021-09-14 13:05:51 +01:00
Hugo Sales
4128a5403d
[MEDIA][EXCEPTIONS] Fix errors and deprecations
2021-09-14 13:05:51 +01:00
Hugo Sales
699f25a397
[AUTOGENERATED] Update autogenerated code
2021-09-14 13:05:51 +01:00
Hugo Sales
bd8f4bd277
[AVATAR] Fixed avatar upload, added avatar inline download and updated template and base controller
2021-09-14 13:05:51 +01:00
Hugo Sales
58b6026607
[UTIL] Fix and rename arrayRemoveKeys
2021-09-14 13:05:47 +01:00
Hugo Sales
48252d6b8c
[UTIL][FORM] Add form transformer array <--> string
2021-09-14 13:05:46 +01:00
Hugo Sales
3e6eb114c4
[UTIL] Add Common::array_remove_keys
2021-09-14 13:05:46 +01:00
Hugo Sales
b3bce3efa1
[FORMATTING] Add option to split a string to array by both a comma and a space
2021-09-14 13:05:45 +01:00
Hugo Sales
921da28884
[FORM] Add DataTransformer to and from array
2021-09-14 13:05:45 +01:00
Hugo Sales
576d6eb11c
[UTIL][NICKNAME][FIX] Add self to constant
2021-09-14 13:05:44 +01:00
Hugo Sales
040c400bfe
[UTIL] Update Formatting::{toString,toArray} to allow spliting by either space or comma
2021-09-14 13:05:43 +01:00
Hugo Sales
b772702895
[LIB][Util] Update Common::setConfig to throw an exception if appropriate, add Formatting::{toString,toArray}
2021-09-14 13:05:42 +01:00
Hugo Sales
17dc298dfa
[UTIL][NICKNAME] Small refactor and remove the check between user nickname and group_alias, as these will have different semantics
2021-09-14 13:05:42 +01:00
Hugo Sales
c0da90bd3e
[COMMON][SECURITY][WRAPPER] Added security service static wrapper and Common::getUser
2021-09-14 13:05:41 +01:00
Hugo Sales
2796ac5228
[NOTIFICATION][DATABASE] Update user notification prefs table, implementation of Notification and define a base class for notification transport
2021-09-14 13:05:40 +01:00
Hugo Sales
0eba267a73
[LOGIN] Implement password checking and related systems
2021-09-14 13:05:40 +01:00
Hugo Sales
8ce0f05371
[UTIL] Update Common::config to ensure the values queried exist
2021-09-14 13:05:39 +01:00
Hugo Sales
fb53700be2
[LIB][Util] Remove Functional::arity as it got merged upstream as Functional\ary
2021-09-14 13:05:39 +01:00
Hugo Sales
d6cd52cede
[LIB][Util] Make Common::config return the unserialized value instead of the entity
2021-09-14 13:05:39 +01:00
Hugo Sales
339003f210
[LIB][Util] Change methods in the Common class to camelCase, add isSystemPath (previously in Nickname.php)
2021-09-14 13:05:38 +01:00
Hugo Sales
d0771f77bc
[UTIL][NICKNAME] Import nickname utilities and exceptions from v2
2021-09-14 13:05:38 +01:00
Hugo Sales
643a937152
[DATABASE][WRAPPER] Update DATABASE wrapper so entity names are provided without the namespace
2021-09-14 13:05:36 +01:00
Hugo Sales
c602cf8422
[LIB][Util] Refactor and implement array indexing methods on RingBuffer
2021-09-14 13:05:35 +01:00
Hugo Sales
7f5e574cbf
[LIB][Util] Add Ring Buffer data structure
2021-09-14 13:05:34 +01:00
Hugo Sales
84be8e1711
[DOCUMENTATION] Fixed type annotations and documentation of Common::size_str_to_int
2021-09-14 13:05:29 +01:00
Hugo Sales
4ffb7c338f
[CORE] Refactoring core
2021-09-14 13:05:26 +01:00
Hugo Sales
4deb446f39
[DEFAULTS] Remove deprecated defaults and convert them to snake_case
2021-09-14 13:05:26 +01:00
Hugo Sales
988be9dbf1
[DATABASE] Fix 'relation config doesn't exist'
2021-09-14 13:05:25 +01:00
Hugo Sales
b9bc88ddbf
[DATABASE][CONFIG] Loading defaults into database, doctrine static wrapper
2021-09-14 13:05:25 +01:00
Hugo Sales
cdb863ba17
[DATABASE][CONFIG] Bring default configs from V2 and implement DATABASE wrapper
2021-09-14 13:05:25 +01:00
Hugo Sales
dd559402cd
[CORE][UTIL] Moved classes from util to core
...
And splitted up Common
2021-09-14 13:05:25 +01:00
Hugo Sales
f628665589
[FORMATTING] Cherry-pick of Diogo's 763ac735c0758624ebd5957993dc0676b865927a
2021-09-14 13:05:24 +01:00
Diogo Cordeiro
cb7518a750
[DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration
2021-09-14 13:05:24 +01:00
Hugo Sales
06b5fe2cdf
[TOOLS][DOCUMENTATION] Improvements to entity generation script
2021-09-14 13:04:39 +01:00
Hugo Sales
a7cc7f4e27
[UTIL] Wrote HTML library to convert arrays to html
2021-09-14 13:04:39 +01:00
Hugo Sales
fe73001c36
[DATABASE] Changed the type of the 'id' field of the ProfileList table from serial to int, as doctrine complains otherwise
2021-09-14 13:04:39 +01:00
Hugo Sales
42321b936f
[SCHEMADEF] Bug fixes
2021-09-14 13:04:38 +01:00
Hugo Sales
e022a5e65e
[MODULES] Fix small error in modules manager
2021-09-14 13:04:38 +01:00
Hugo Sales
c38b9a1503
[COMMON] Added toCamelCase and toSnakeCase functions
2021-09-14 13:04:37 +01:00
Hugo Sales
0c79dfc67b
[MODULES] Rename extensions to modules, add example plugin, change plugin location
2021-09-14 13:04:37 +01:00
Hugo Sales
596009c924
[DOCUMENTATION] Document All The Things!
2021-09-14 13:04:33 +01:00
Hugo Sales
5d1685b142
[CORE][ROUTES] Implemented custom router, with an interface similar to the old one, which allows routes to be seperated into files
2021-09-14 13:01:35 +01:00
Hugo Sales
b50909a335
[CORE][COMMAND] Register internal structures on command event
2021-09-14 13:01:34 +01:00
Hugo Sales
6df658a987
[CORE][EXTENSIONS] Added extension (modules, plugins) loading and test plugin, which is able to handle events
2021-09-14 13:01:34 +01:00
Hugo Sales
1b45936f19
[DOCTRINE][SCHEMADEF] Small refactoring
2021-09-14 13:01:34 +01:00
Hugo Sales
2c9a732256
[CORE][DOCTRINE] Implement SchemaDefDriver, which transforms the old syntax from to doctrine's metadata
2021-09-14 13:01:34 +01:00
Hugo Sales
cc72373e3d
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
...
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-09-14 13:01:34 +01:00