Commit Graph

59 Commits

Author SHA1 Message Date
Hugo Sales
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
Hugo Sales
10c79bcafe
[TOOLS][TESTS] Add coverage ignore tag to autogenerated code 2021-09-14 13:13:00 +01:00
Hugo Sales
cfe842b487
[DOCUMENTATION] Add database diagram to developer documentation 2021-09-14 13:12:56 +01:00
Hugo Sales
fb220e82ed
[TOOLS] Use \DateTimeInterface rather than DateTimeInterface 2021-09-14 13:12:52 +01:00
Hugo Sales
1d6d20aacb
[TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed 2021-09-14 13:11:51 +01:00
Diogo Peralta Cordeiro
55b06705d5
[SCRIPTS] pre-commit now has variables double quoted 2021-09-14 13:10:55 +01:00
Diogo Peralta Cordeiro
9997b231d4
[INSTALL] Elaborate on localhost installation 2021-09-14 13:10:54 +01:00
Hugo Sales
155f30e816
[TOOLS] Fix missing exported variable in bin/configure 2021-09-14 13:10:54 +01:00
Hugo Sales
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
Hugo Sales
2e490756b9
[DOCKER][MAIL] Temporarily disable mail container 2021-09-14 13:10:20 +01:00
Hugo Sales
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
Hugo Sales
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
Hugo Sales
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
Hugo Sales
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
Hugo Sales
9cd5560081
[DOCKER] Bump to PHP version 8 2021-09-14 13:06:57 +01:00
Hugo Sales
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
Diogo Cordeiro
f60e37ba3d
[DOCKER][BOOTSTRAP] Add option to use a self signed cert 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
cf1a9fe893
[TOOLS] Added script to configure the installation and to bootstrap certificate creation with Let's Encrypt 2021-09-14 13:05:03 +01:00
Hugo Sales
e0b26ad38b
[TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt 2021-09-14 13:05:03 +01:00
Hugo Sales
06b5fe2cdf
[TOOLS][DOCUMENTATION] Improvements to entity generation script 2021-09-14 13:04:39 +01:00
Hugo Sales
bb5cdc03e4
[DOCUMENTATION][TOOLS] Wrote a tool to generate entity diagrams from the database definition 2021-09-14 13:04:39 +01:00
Hugo Sales
c583c0f266
[TOOLS] Fix the generate_entities_fields script 2021-09-14 13:04:38 +01:00