Commit Graph

66 Commits

Author SHA1 Message Date
b65ee4c21d
[TOOLS][CS-FIXER] Fix incorrect transformation 2021-10-27 04:19:28 +01:00
941cbe6599
[Actor] Refactor GSActor into Actor 2021-09-18 05:12:17 +01:00
ee7721da96
[DOCUMENTATION] Add documentation on developer tools 2021-09-18 05:12:09 +01:00
9d7f43cd28
[TOOLS][PHPStan][TESTS][Docker] Rework testing Docker container into a more generic tooling container. Keep services up and run coverage and phpstan as commands, for performance and ease of use 2021-09-14 13:13:44 +01:00
9742a07bae
[TOOLS][git] Add option to skip pre-commit steps by defining one of SKIP_ALL, SKIP_CS_FIX, SKIP_DOC_CHECK, SKIP_PHPSTAN variables before the git commit command
Example:
`SKIP_PHPSTAN=1 git commit`
2021-09-14 13:13:44 +01:00
ddb9702b1c
[TOOLS][PHPStan] Add support for deducing the correct entity type from a table name. Needs refactoring and can only run inside container, as it connects to the database itself 2021-09-14 13:13:44 +01:00
0eb0236feb
[TOOLS] Run PHPStan on the whole codebase on each commit 2021-09-14 13:13:42 +01:00
4ec9b910c2
[TOOLS] Fix pre commit hook to allow for partial file commits (git add -p/git reset -p) 2021-09-14 13:13:04 +01:00
10c79bcafe
[TOOLS][TESTS] Add coverage ignore tag to autogenerated code 2021-09-14 13:13:00 +01:00
cfe842b487
[DOCUMENTATION] Add database diagram to developer documentation 2021-09-14 13:12:56 +01:00
fb220e82ed
[TOOLS] Use \DateTimeInterface rather than DateTimeInterface 2021-09-14 13:12:52 +01:00
1d6d20aacb
[TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed 2021-09-14 13:11:51 +01:00
55b06705d5
[SCRIPTS] pre-commit now has variables double quoted 2021-09-14 13:10:55 +01:00
9997b231d4
[INSTALL] Elaborate on localhost installation 2021-09-14 13:10:54 +01:00
155f30e816
[TOOLS] Fix missing exported variable in bin/configure 2021-09-14 13:10:54 +01:00
ff771223af
[DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php) 2021-09-14 13:10:22 +01:00
2e490756b9
[DOCKER][MAIL] Temporarily disable mail container 2021-09-14 13:10:20 +01:00
1773ab7af2
[DOCKER][MAIL] Update config and change the way mail docker handles it, so the edits aren't visible from the outside, polluting the git staging area 2021-09-14 13:10:20 +01:00
b3623329e3
[DOKER][MAIL][BOOTSTRAP] Make bootstrap generate separate certificates for the web root and the mail server 2021-09-14 13:10:20 +01:00
b824a0425e
[DOCKER] Remove quotes from docker env files, as docker (or at least docker-compose) include them in the actual value 2021-09-14 13:10:20 +01:00
0e9737ee39
[TOOLS][DOCKER] Rewrite the configuration script to use whiptail/dialog, and refactor 2021-09-14 13:10:20 +01:00
margarida
f3c3d80892
[TOOLS][DOCKER] Add mail setup to configure 2021-09-14 13:10:16 +01:00
margarida
c36259f7c1
[TOOLS][DOCKER] Changed script to write docker-compose.yaml 2021-09-14 13:10:15 +01:00
margarida
6cb6eeb8a3
[TOOLS][DOCKER] Change dialog method to command substitution and redirection and add way of finding git's root 2021-09-14 13:10:15 +01:00
margarida
a8d211cdbf
[TOOLS][DOCKER] Added input verfication 2021-09-14 13:10:15 +01:00
margarida
152d173e69
[TOOLS][DOCKER] Added first version of configuration shell script 2021-09-14 13:10:15 +01:00
Pastilhas
def5e06a28
[DOCKER][MAIL] Moved and modified setup.sh 2021-09-14 13:10:14 +01:00
Pastilhas
93939d8b25
[DOCKER][MAIL] Switched named volume to shared volume and changed env vars to env file 2021-09-14 13:10:14 +01:00
margarida
c26ee45bf3
[TOOLS][DOCKER] Added input verfication 2021-09-14 13:10:11 +01:00
margarida
987d29a674
[TOOLS][DOCKER] Added first version of configuration shell script 2021-09-14 13:10:11 +01:00
9cd5560081
[DOCKER] Bump to PHP version 8 2021-09-14 13:06:57 +01:00
b27bda6a7c
[TOOLS] Use GSActor rather than Gsactor in autogenerated code 2021-09-14 13:06:56 +01:00
Hugo Sales
67d4702743
[HOOKS] Update pre-commit script to check for missing documentation in functions 2021-09-14 13:06:55 +01:00
Tiago Magalhaes
61ebeca706
[CORE] made configure script explicitly fail when bootstrap.env is not present 2021-09-14 13:06:54 +01:00
Hugo Sales
6a2a0d4e66
[TOOLS] Add support for updating autocode in modules 2021-09-14 13:06:51 +01:00
Hugo Sales
636f564672
[TOOLS] Fix bin/generate_entity_fields 2021-09-14 13:05:54 +01:00
Hugo Sales
689a5df670
[TOOLS] Update generate_entity_fields 2021-09-14 13:05:51 +01:00
Hugo Sales
04e31d273d
[MAIL] Make mailserver a required service 2021-09-14 13:05:46 +01:00
Hugo Sales
59eba851f7
[DATABASE][TOOLS] Update local_user to return the proper PhoneNumber type 2021-09-14 13:05:45 +01:00
Hugo Sales
db32a5fcfc
[DATABASE][TOOLS] Update local_user, SchemaDefDriver and bin/generate_entity_fields to use the phone_number type (which maps to a varchar 35 and does validation) 2021-09-14 13:05:44 +01:00
Hugo Sales
72bf62adc3
[TOOLS] Update generate fields script to output default values 2021-09-14 13:05:41 +01:00
Hugo Sales
028d7c929f
[TOOLS] Update shebang on scripts to use the correct php executable 2021-09-14 13:05:39 +01:00
Hugo Sales
52aad30030
[TOOLS][configure] Fix to use quotation marks properly 2021-09-14 13:05:34 +01:00
Hugo Sales
0eb0d21007
[TOOLS] Fix bootstrap and pre-commit scripts 2021-09-14 13:05:29 +01:00
Hugo Sales
2eab90bbb0
[TOOLS] Update bin/generate_entity_fields script 2021-09-14 13:05:29 +01:00
Hugo Sales
5be901f9ce
[TOOLS] Improve configure script to disallow reserved database names 2021-09-14 13:05:27 +01:00
Hugo Sales
dc7387cc8d
[I18N] Custom translation extractor based on Symfony's PhpExtractor, since we use instead of 2021-09-14 13:05:27 +01:00
Hugo Sales
7c18f10bd2
[TOOLS] Fixed all licence blocks, to use the same, foldable, format 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
5a61098d28
[TOOLS] Update install scripts 2021-09-14 13:05:25 +01:00