Commit Graph

57 Commits

Author SHA1 Message Date
Hugo Sales e0e1dca0f0 [DOCUMENTATION] Add database diagram to developer documentation 2021-05-01 12:49:04 +00:00
Hugo Sales 1d7375b9cb [TOOLS] Use \DateTimeInterface rather than DateTimeInterface 2021-04-27 21:23:00 +00:00
Hugo Sales 8a280c349f [TOOLS] In pre-commit hook, only run php-doc-check if some PHP file changed 2021-04-16 20:28:39 +01:00
Diogo Peralta Cordeiro 5ddc551fd9 [SCRIPTS] pre-commit now has variables double quoted 2021-04-14 15:47:10 +00:00
Diogo Peralta Cordeiro 764ff60c34 [INSTALL] Elaborate on localhost installation 2021-04-14 15:47:06 +00:00
Hugo Sales 5d4f544a03 [TOOLS] Fix missing exported variable in bin/configure 2021-04-14 15:40:14 +00:00
Hugo Sales f5df7edc6c [DOCKER][TOOLS] Add option to bin/configure to use a prebuilt PHP container (https://hub.docker.com/repository/docker/gsocial/php) 2021-04-14 15:37:23 +00:00
Hugo Sales f912236114 [DOCKER][MAIL] Temporarily disable mail container 2021-04-14 15:37:23 +00:00
Hugo Sales 349df02f78 [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-04-14 15:37:23 +00:00
Hugo Sales 0a15ccab9b [DOKER][MAIL][BOOTSTRAP] Make bootstrap generate separate certificates for the web root and the mail server 2021-04-14 15:37:23 +00:00
Hugo Sales cfbb28f1ea [DOCKER] Remove quotes from docker env files, as docker (or at least docker-compose) include them in the actual value 2021-04-14 15:37:23 +00:00
Hugo Sales 2f570fcc2a [TOOLS][DOCKER] Rewrite the configuration script to use whiptail/dialog, and refactor 2021-04-14 15:37:23 +00:00
margarida 66670ff220 [TOOLS][DOCKER] Add mail setup to configure 2021-04-14 15:37:23 +00:00
margarida a5eca9f110 [TOOLS][DOCKER] Changed script to write docker-compose.yaml 2021-04-14 15:37:23 +00:00
margarida f9b98f87a4 [TOOLS][DOCKER] Change dialog method to command substitution and redirection and add way of finding git's root 2021-04-14 15:37:23 +00:00
margarida 28b337f793 [TOOLS][DOCKER] Added input verfication 2021-04-14 15:37:23 +00:00
margarida b02564e575 [TOOLS][DOCKER] Added first version of configuration shell script 2021-04-14 15:37:23 +00:00
Pastilhas 0a5ac7cf7e [DOCKER][MAIL] Moved and modified `setup.sh` 2021-04-14 15:37:23 +00:00
Pastilhas 7e99d5faa8 [DOCKER][MAIL] Switched named volume to shared volume and changed env vars to env file 2021-04-14 15:37:23 +00:00
margarida 03007194c8 [TOOLS][DOCKER] Added input verfication 2021-04-14 15:37:23 +00:00
margarida b600dc0902 [TOOLS][DOCKER] Added first version of configuration shell script 2021-04-14 15:37:23 +00:00
Hugo Sales f486656756 [DOCKER] Bump to PHP version 8 2021-04-14 15:37:23 +00:00
Hugo Sales e1941b6612 [TOOLS] Use GSActor rather than Gsactor in autogenerated code 2021-04-14 15:37:23 +00:00
Hugo Sales 9cc7b6adf5 [HOOKS] Update pre-commit script to check for missing documentation in functions 2021-04-14 15:37:23 +00:00
Tiago Magalhaes 4050222bc8 [CORE] made configure script explicitly fail when bootstrap.env is not present 2021-04-14 15:37:23 +00:00
Hugo Sales 09a1342588 [TOOLS] Add support for updating autocode in modules 2021-04-14 15:37:22 +00:00
Hugo Sales a60c79c35d [TOOLS] Fix bin/generate_entity_fields 2021-04-14 15:37:22 +00:00
Hugo Sales d91ab6f277 [TOOLS] Update generate_entity_fields 2021-04-14 15:37:22 +00:00
Hugo Sales 4b73024a57 [MAIL] Make mailserver a required service 2021-04-14 15:37:21 +00:00
Hugo Sales 4d2770319e [DATABASE][TOOLS] Update local_user to return the proper PhoneNumber type 2021-04-14 15:37:21 +00:00
Hugo Sales e7f541219d [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-04-14 15:37:21 +00:00
Hugo Sales 8dcf563674 [TOOLS] Update generate fields script to output default values 2021-04-14 15:37:21 +00:00
Hugo Sales b508fbe3b1 [TOOLS] Update shebang on scripts to use the correct php executable 2021-04-14 15:37:21 +00:00
Hugo Sales d2b44f4400 [TOOLS][configure] Fix to use quotation marks properly 2021-04-14 15:37:21 +00:00
Hugo Sales 2d1d697498 [TOOLS] Fix bootstrap and pre-commit scripts 2021-04-14 15:37:21 +00:00
Hugo Sales 68a5551f36 [TOOLS] Update bin/generate_entity_fields script 2021-04-14 15:37:21 +00:00
Hugo Sales d5fa31a6f5 [TOOLS] Improve configure script to disallow reserved database names 2021-04-14 15:37:21 +00:00
Hugo Sales a8cd9034ff [I18N] Custom translation extractor based on Symfony's PhpExtractor, since we use instead of 2021-04-14 15:37:21 +00:00
Hugo Sales ce00acdb39 [TOOLS] Fixed all licence blocks, to use the same, foldable, format 2021-04-14 15:37:20 +00:00
Hugo Sales 520989bc59 [DEFAULTS] Remove deprecated defaults and convert them to snake_case 2021-04-14 15:37:20 +00:00
Hugo Sales ac68436b0b [TOOLS] Update install scripts 2021-04-14 15:37:20 +00:00
Diogo Cordeiro c67cf336d4 [DOCKER][BOOTSTRAP] Add option to use a self signed cert 2021-04-14 15:37:20 +00:00
Diogo Cordeiro 4efbf9361c [DOCUMENTATION][TOOL] Small bug fixes and docblock elaboration 2021-04-14 15:37:20 +00:00
Hugo Sales 33270dabf3 [TOOLS] Added script to configure the installation and to bootstrap certificate creation with Let's Encrypt 2021-04-14 15:37:09 +00:00
Hugo Sales a97c511c7a [TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt 2021-04-14 15:37:09 +00:00
Hugo Sales 3b5789639b [TOOLS][DOCUMENTATION] Improvements to entity generation script 2021-04-14 15:36:35 +00:00
Hugo Sales cb1944aca9 [DOCUMENTATION][TOOLS] Wrote a tool to generate entity diagrams from the database definition 2021-04-14 15:36:35 +00:00
Hugo Sales fe603928e2 [TOOLS] Fix the generate_entities_fields script 2021-04-14 15:36:35 +00:00
Hugo Sales 4bc3eabd29 [TOOLS][AUTOCODE] Fixed generate_entities script 2021-04-14 15:36:35 +00:00
Hugo Sales 8a8d0f1dcd [TOOLS] Add script used to port from old class files to entities 2021-04-14 15:36:35 +00:00