Commit Graph

27 Commits

Author SHA1 Message Date
Paul B
64f086c04f
i18n: adds a check on missing translation keys in locale/*.json file
This commit adds a script to check all keys from translation files to
make sure no missing keys / no translation files are incorrect.

Even if missing keys should not happen (because we use a script to add
keys automatically) this script made helped to understand that all
three `ar`, `eo` and `fr_FR` translation files were completly off
compared to the `en.json` file.

I believe we can safely delete `ar`, `eo` and `fr_FR` locales from
Zanata (because those languages are not set in the ALLOWED_LANGUAGES
config array). ⚠️ this needs to be check in the production `config.php`
file ⚠️.

Deleting the `fr_FR` locale file should solve both !358 and #395

closes !358 #395
2019-04-16 14:55:15 +02:00
JosephK
c3e29e7e82 .git folder deleted before creating latest.zip 2019-01-07 08:42:11 +01:00
Luc Didry
ff88628acf
[zanata] Use git branch to specify the version of zanata's project 2018-08-17 13:58:43 +02:00
Luc Didry
6b3c5f0610
WIP Working on locales 2018-08-14 14:35:08 +02:00
Thomas Citharel
5e43c1974d Merge branch 'master' into develop 2018-08-14 14:26:15 +02:00
Thomas Citharel
5ffd4361e4 Fix #358, #355 and #342
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 14:06:23 +02:00
Thomas Citharel
d8123634fa Disable zanata also on beta
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 14:07:34 +02:00
Thomas Citharel
8dcfb0d494 Disable everything Zanata related for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 14:05:25 +02:00
Thomas Citharel
006a191544
Make Framadate compatible with PostgreSQL and great again !
* Move the database handling to Doctrine DBAL
* Move Migrations to Doctrine Migrations
* Rename migrations for Doctrine Migrations Uses
* Fix Migrations
* Change config parameters, introduce db name, host and port parameters and get rid of database url
* Change install form for this
* Add a CLI command to make migrations
* Add config.test.php to be used with APP_ENV=test for testing

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

CS

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add sqlite to CI and execute migration in test env

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Typo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

SQLite is already inside the image...

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Rebase two new migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Move from trait to abstract class and remove legacy migration table after checks

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

CS

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Move doctrine command path inside CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Move abstract migration class to correct namespace and remove unused command

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

CS

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Check for legacy migration table existence

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Check if legacy migration table exists before deleting it

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add messages for skipped migrations and fix an issue with MySQL ERR_NO_DATE Migration

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-22 18:37:53 +02:00
Thomas Citharel
ff7bf2b2a2
Build artifacts only on stable tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-10 21:56:01 +02:00
Thomas Citharel
cb03c5c054
Check locales only on develop
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-06 11:51:08 +02:00
Thomas Citharel
a4ad96c78f
Put correct rights on produced zip
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-06 10:06:34 +02:00
Luc Didry
0151361cc9 [i18n] Add check-trad job + pull locales when deploying to beta 2018-04-05 10:46:55 +02:00
Thomas Citharel
37c2df781a
Add git to beta.framadate.org deploy so that we can be sure on which revision we're on
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-04-02 11:32:08 +02:00
Thomas Citharel
5d0a388285
typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-28 16:55:04 +02:00
Thomas Citharel
5a171277cb
add beta stage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-28 16:50:00 +02:00
Thomas Citharel
e9458c1839 Move php composer.phar to composer
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-19 13:06:31 +01:00
Thomas Citharel
edee5626f4 Use own framasoft/framadate-ci image for CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-19 13:04:09 +01:00
Thomas Citharel
a97bcf4d6a fixup for copying app files to framadate folder
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-19 11:09:12 +01:00
Thomas Citharel
ff3dcc9249 Fix Zanata (https://framagit.org/framasoft/framadate/merge_requests/228#note_194515)
Fix #271
Fix #272

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-03-19 10:45:35 +01:00
Luc Didry
ee807db380 [Zanata] Add push-locales to CI for branch develop 2018-02-28 09:43:53 +01:00
Thomas Citharel
991088119f typo on CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-21 11:36:27 +01:00
Thomas Citharel
0a9c5095e5 cache vendor
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 08:58:49 +01:00
Thomas Citharel
83d3565472 Refactor to put tests outside of deployment and optimize autoloader on builds
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 08:54:11 +01:00
Thomas Citharel
89dd2fbc35 Run tests on CI, refactor .gitlab-ci.yml
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-20 08:43:46 +01:00
Thomas Citharel
006e5c8c10 Add php-cs-fixer and phpunit to build
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-02-19 19:44:40 +01:00
JosephK
8b79c7f43a Création en CI de l’archive zip de la dernière release (tag) 2017-12-14 15:30:21 +01:00