Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Migrate to v2.3 #2129

Closed
wants to merge 240 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
240 commits
Select commit Hold shift + click to select a range
23bfff8
Prepare upgrade to 2.2.11
ger-benjamin Sep 5, 2018
cdfe893
Move things in package.json
ger-benjamin Sep 5, 2018
27f1964
Ongoing (finish hier) upgrade 2.1.11
ger-benjamin Sep 5, 2018
cb48bde
Start upgrade to 2.3.3
ger-benjamin Sep 5, 2018
28abcc5
wip upgrade to 2.3 - upgrade11
ger-benjamin Sep 5, 2018
cc8416c
Terminated upgrade to 2.3 - upgrade11
ger-benjamin Sep 6, 2018
5dc453f
Remove print-servlet war from git
ger-benjamin Sep 6, 2018
4cc547a
Ongoing adapt python files to python 3 and gmf 2.3.3
ger-benjamin Sep 6, 2018
a60ca7c
Adapt vars
ger-benjamin Oct 11, 2018
15dfe38
Retablish Lux Alembic script
ger-benjamin Oct 22, 2018
5611a7d
Script to adapte data to c2c 2.3
ger-benjamin Oct 24, 2018
47c89c6
Add custom geoportailv3.mk file
ger-benjamin Oct 31, 2018
a59741b
Start upgrade to c2cg. 2.3.4.dev8
ger-benjamin Oct 31, 2018
d32171c
Upgrade to c2cgeoportal 2.3.4.dev8
ger-benjamin Oct 31, 2018
b71a9bb
Debug admin interface
ger-benjamin Nov 2, 2018
46371a3
Move lux_alembic.ini.mak and remove lock
gberaudo Nov 2, 2018
bce8db9
WIP use 8042 for haproxy
gberaudo Nov 2, 2018
df76bb6
Clean docker-compose.yaml.mako
gberaudo Nov 2, 2018
cbbc8ac
fixup! Move lux_alembic.ini.mak and remove lock
gberaudo Nov 2, 2018
36fb24a
WIP copied files from es6 migration branch
gberaudo Nov 2, 2018
52dda46
WIP
gberaudo Nov 5, 2018
5b12fbf
Rename files to match symbol case
gberaudo Nov 5, 2018
a4be2a7
Fix named export imports
gberaudo Nov 5, 2018
9e75fa5
More named export fixes
gberaudo Nov 6, 2018
51a336f
Fix named exports transform
gberaudo Nov 6, 2018
dcd9aee
Fix proj named exports
gberaudo Nov 6, 2018
010b18e
Use plain strings instead of CollectionEventType
gberaudo Nov 6, 2018
8496484
Fix viewhint usage
gberaudo Nov 6, 2018
b8f054e
Fix extent named exports
gberaudo Nov 6, 2018
47c7ba9
Fix events named exports
gberaudo Nov 6, 2018
7e1d1a9
Use strings instead of MapBrowserEventType
gberaudo Nov 6, 2018
f850248
Fix array named exports
gberaudo Nov 6, 2018
cb4d61d
Fix Collection imports
gberaudo Nov 6, 2018
c723840
Fix Feature imports
gberaudo Nov 6, 2018
5b20768
Fix Geolocation imports
gberaudo Nov 6, 2018
c9cb6bb
Fix unByKey named exports
gberaudo Nov 6, 2018
bf0c39c
Remove unused ol.js imports
gberaudo Nov 6, 2018
e53076b
Fix getUid and inherits usage
gberaudo Nov 6, 2018
1a6d851
Use plain strings instead of EventType enum
gberaudo Nov 6, 2018
adc6f7e
Remaining fixes to make linter pass (except unused imports)
gberaudo Nov 6, 2018
444d4d1
Fixes for the checks target
gberaudo Nov 6, 2018
e4061fb
More lint fixes
gberaudo Nov 6, 2018
47726c5
Rename app module to Appmain and introduce fake module
gberaudo Nov 6, 2018
898cccc
Fix more enum usages
gberaudo Nov 6, 2018
217c6e3
Fix named import of olFunctions
gberaudo Nov 7, 2018
7a808b8
Fix bad type
gberaudo Nov 7, 2018
aaf8514
Hack to import all Angular stuff
gberaudo Nov 7, 2018
a057f5b
Fix more ol proj named exports
gberaudo Nov 7, 2018
0c5a615
Fix proj definitons
gberaudo Nov 7, 2018
1fc40fd
Fix import of styles
gberaudo Nov 7, 2018
79ddac9
Fix padNumber import
gberaudo Nov 7, 2018
3bd322b
More ol proj named exports fixes
gberaudo Nov 7, 2018
614efa3
More ol extent named export fixes
gberaudo Nov 7, 2018
78e8a2e
Fix ol obj named exports
gberaudo Nov 7, 2018
2130c8e
Fix ol interaction imports
gberaudo Nov 7, 2018
5a07329
Fix ol array imports
gberaudo Nov 7, 2018
841f67e
Fix ol coordinate imports
gberaudo Nov 7, 2018
814e1bf
Remaining bad imports
gberaudo Nov 7, 2018
84f7cf4
Fix incorrect html
gberaudo Nov 20, 2018
41bc1c8
Populate template cache
gberaudo Nov 20, 2018
be0bed4
Don't use the c2cgeoportal infrastructure layer
sbrunner Nov 27, 2018
c4b8fef
Be able to update the po files
sbrunner Dec 11, 2018
cf2315d
Use Luxembourg locales
gberaudo Dec 6, 2018
a28ad77
Update gitignore
gberaudo Dec 12, 2018
09e8c28
Add convenience targets to Makefile
gberaudo Dec 12, 2018
8f0143a
Fix CSP issue with statistics url
gberaudo Dec 12, 2018
a666c3d
Fix mymaps DB configuration and access
gberaudo Dec 12, 2018
28fee7d
Improve docker-run to allow passing an image hash
gberaudo Dec 12, 2018
3f12a66
Use development.ini for local dev
gberaudo Dec 12, 2018
d9c9e01
Fix Angular locales download
gberaudo Dec 12, 2018
1b43f88
Enable local c2cgeoportal mode
gberaudo Dec 12, 2018
5d81994
Reorder the Makefile to speed up iterative work on UI
gberaudo Dec 12, 2018
05d28f5
Fix fix statistics
gberaudo Dec 12, 2018
169f6cd
Remove leftover python prefix in html.ejs
gberaudo Dec 12, 2018
8592098
Update ngeo to offline branch and add npm dependencies
gberaudo Dec 12, 2018
8cc88f6
Fix ngeo update
gberaudo Dec 12, 2018
46b1744
Port to AngularJS 1.7
gberaudo Dec 12, 2018
f0e3dc8
Keep using legacy AngularJS 1.6
gberaudo Dec 12, 2018
db048fc
Add dev target to Makefile
gberaudo Dec 12, 2018
bfba33f
Restore preAssignBindingsEnabled
gberaudo Dec 12, 2018
02fc155
Update ngeo to fix webpack issue
gberaudo Dec 12, 2018
6170d86
Update ngeo
gberaudo Dec 13, 2018
9c598c9
Readme and typo
ger-benjamin Dec 13, 2018
fadc399
Fix olStyleStyle.createDefaultEditing (getApp) doesn't exist
ger-benjamin Dec 13, 2018
fabf7ec
Fix missing projection
ger-benjamin Dec 13, 2018
71ed1a9
Fix use ngeoInteractionTranslate instead of not existing ol interacti…
ger-benjamin Dec 13, 2018
0f8dfec
Remove unused files
gberaudo Dec 14, 2018
7d9e005
Fix call to ngeoInteractionMeasureLength
gberaudo Dec 14, 2018
9076fcb
Import Fuse
gberaudo Dec 14, 2018
105465d
Use dedicated non cacheable ping route for offline testing
gberaudo Dec 14, 2018
7101c20
Add lux predefined wms table in admin interface
ger-benjamin Nov 20, 2018
81d5675
Better model for lux tables
ger-benjamin Nov 21, 2018
9a70465
Add new lux tables in admin iterfaces
ger-benjamin Nov 21, 2018
4124a41
Admin - Enable duplicate for lux getfeature definition table
ger-benjamin Dec 5, 2018
49b559e
Config to replace layer_wms by lux_layer_internal-external_wms
ger-benjamin Dec 6, 2018
f19d977
Merge pull request #2153 from Geoportail-Luxembourg/upgrade_23_admin_…
ger-benjamin Dec 17, 2018
4029a06
Fix webpack dev server
gberaudo Dec 17, 2018
5e16395
Update README
gberaudo Dec 17, 2018
71cd7ca
Fix Makefile and mount views inside composition
gberaudo Dec 17, 2018
73560ed
Add the ping view
gberaudo Dec 17, 2018
d8390fa
Mount the geoportal views
gberaudo Dec 17, 2018
1b13f1e
Reload gunicorn on change
gberaudo Dec 17, 2018
3c32131
Remove treeUrl constant
gberaudo Dec 17, 2018
7bf68e7
Better params for auth cookie
ger-benjamin Dec 17, 2018
5d84ca8
fix port to 8080 - Fix authorized referer
ger-benjamin Dec 17, 2018
ed3965f
Update script to have backgrond layers and main interface
ger-benjamin Dec 17, 2018
630cdc6
Scales and resolutions are now lists
ger-benjamin Dec 17, 2018
f53cd15
Add real appOverviewMapBaseLayer
ger-benjamin Dec 17, 2018
d13d7bc
Retablish css
ger-benjamin Dec 18, 2018
9f60ac9
Fix theme switcher
ger-benjamin Dec 18, 2018
59504a6
Hack: disable PermissionSetter
gberaudo Dec 20, 2018
49dd7f2
Hide unwanted overlay button
gberaudo Dec 20, 2018
6c16052
Mount more directories
gberaudo Dec 20, 2018
1d93fb8
Add offline / appcache files
gberaudo Dec 20, 2018
0d4baf9
Hide overview control
gberaudo Dec 20, 2018
5cb9fd1
Add bootstrap (to have working tabs)
ger-benjamin Dec 20, 2018
c7af527
Fix offline feature
gberaudo Dec 21, 2018
7f3e696
Fix config.yaml
gberaudo Dec 21, 2018
5630be9
Fix OL-Cesium
gberaudo Dec 21, 2018
6e03486
Remove unused targets
gberaudo Jan 8, 2019
15c5637
Remove extra character
gberaudo Jan 8, 2019
2737b76
Fix QR issue
gberaudo Jan 8, 2019
2627f34
Fix pgroute DB session access
gberaudo Jan 8, 2019
7bcd1bc
Fix the ecadastre db session access
gberaudo Jan 8, 2019
7ae87f4
Build in Travis
gberaudo Jan 8, 2019
5a21003
Translations WIP
gberaudo Jan 8, 2019
24ac6b2
Add make fix-db to ease working on the code
gberaudo Jan 11, 2019
96b2a9b
Handle translations
gberaudo Jan 11, 2019
0321d03
Move tooltips.po file
gberaudo Jan 14, 2019
e7217af
Clarify Makefile
gberaudo Jan 14, 2019
8f3e125
Restore correct po files
gberaudo Jan 14, 2019
153e24f
fix login (allow usage of cookie)
ger-benjamin Jan 14, 2019
78d9313
Don't add bglayers to selectedLayers (my layers)
ger-benjamin Jan 14, 2019
89971f4
Debug mymaps
ger-benjamin Jan 15, 2019
78545f2
Fix streetview styles
ger-benjamin Jan 15, 2019
149e726
fix dbsession for print
ger-benjamin Jan 15, 2019
6964241
Fix layers2es issues
gberaudo Jan 15, 2019
b065491
Run scripts inside docker and update help
gberaudo Jan 15, 2019
302af8e
Swith to released c2cgeoportal v2.3.5.21
gberaudo Jan 16, 2019
7dfab95
Add local copy of the tools directory
gberaudo Jan 16, 2019
1bed11a
Fix path (themes, lang, etc) issues in admin
ger-benjamin Jan 17, 2019
1f88beb
Add node_modules for the admin interface
ger-benjamin Jan 21, 2019
e540ea0
Update to c2c 2.3.5.22
ger-benjamin Jan 22, 2019
cc57beb
Simplify dockerfile
ger-benjamin Jan 23, 2019
85909b5
Remove duplicated line
ger-benjamin Jan 23, 2019
92eaee6
Upgrade to c2c 2.3.5.25
ger-benjamin Jan 28, 2019
b2cd3da
Workaroung cairoSVG issue
gberaudo Feb 12, 2019
6daf1e3
Rely on setup.py for installing requirements
gberaudo Feb 13, 2019
06481e4
Make gunicorn honor the X-Forwarded headers
gberaudo Feb 20, 2019
0af4318
Add proxy settings
Jan 30, 2019
8134b52
Substitute database name
rmichaelis Jan 31, 2019
922cd2f
Substitute database name
rmichaelis Jan 31, 2019
6ea3897
use env variable
rmichaelis Feb 21, 2019
d0410b6
Merge pull request #2162 from Geoportail-Luxembourg/fix_proxy
rmichaelis Feb 21, 2019
baa43f3
Xrange is not available in python 3
rmichaelis Mar 13, 2019
64ac688
uncomment ldap stuffs
rmichaelis Mar 14, 2019
15f8ea9
Migrate to ldap3
rmichaelis Mar 14, 2019
83272f6
Migrate to ldap3
rmichaelis Mar 14, 2019
7f035e2
Merge pull request #2188 from Geoportail-Luxembourg/rmichaelis-patch-1
gberaudo Mar 15, 2019
a3cb266
Fix ldap
gberaudo Mar 19, 2019
0669180
Fix featureinfo query condition
gberaudo Mar 20, 2019
8e7b70d
Document LDAP configurations in the readme
gberaudo Mar 20, 2019
0c83dab
Merge pull request #2189 from Geoportail-Luxembourg/fix_ldap
gberaudo Mar 20, 2019
87ef5dd
Fix many issues while drawing
gberaudo Mar 20, 2019
6d8058a
Use transaction fonctionnality everywhere
gberaudo Mar 20, 2019
1de54e1
Fix sqlalchemy issue
gberaudo Mar 20, 2019
570c125
Fix line edition styling
gberaudo Mar 21, 2019
a4ba913
Allow to share a default env file
gberaudo Mar 21, 2019
afc4ea9
Simplify docker image dependencies
gberaudo Mar 20, 2019
b1b509a
More simplifications
gberaudo Mar 22, 2019
86d095e
MyMaps fixes
gberaudo Mar 22, 2019
f26413b
Merge pull request #2190 from Geoportail-Luxembourg/simplify_docker_s…
gberaudo Mar 22, 2019
da1f8e5
Use newer c2cgeoportal release
gberaudo Mar 22, 2019
6070f18
Typo
gberaudo Mar 25, 2019
3a05173
Add debug toolbar for easier local dev
gberaudo Mar 25, 2019
8d61f9a
Fix get feature info access to dbs
gberaudo Mar 25, 2019
a72ed84
Upgrade c2cgeoportal to latest version
gberaudo Mar 26, 2019
fe92fa0
Rework ldap code and stub
gberaudo Mar 26, 2019
064fdc1
Add documentation
gberaudo Mar 26, 2019
0f5224f
Allow testing raster queries in local dev
gberaudo Mar 27, 2019
402c7a4
Fix profile
gberaudo Mar 27, 2019
216e352
Do not create a new user when fixing db
gberaudo Mar 28, 2019
c8b7a38
Fix routing UI
gberaudo Mar 28, 2019
ca595b9
Add fake data for local dev
gberaudo Mar 28, 2019
98343e4
User role is the roletheme and not the role_mymaps
Mar 28, 2019
7a83f8e
Remove RIP Google plus service
gberaudo Mar 28, 2019
615ed52
Allow to define the shortener parameters
gberaudo Mar 28, 2019
b2cfdc8
Simplify unused email configuration
gberaudo Mar 28, 2019
1d4cd5e
Merge pull request #2191 from Geoportail-Luxembourg/fix_roletheme
rmichaelis Mar 28, 2019
a8424f6
Configure elasticsearch server
Mar 29, 2019
c6530c7
Configure admin adding fields
Mar 29, 2019
99e6bb9
Merge pull request #2193 from Geoportail-Luxembourg/fix_admin
gberaudo Mar 29, 2019
044b35a
Merge pull request #2192 from Geoportail-Luxembourg/fix_elasticsearch
gberaudo Mar 29, 2019
d2652fa
Actually remove google plus
gberaudo Mar 28, 2019
19d6391
Fix routing
gberaudo Mar 29, 2019
eacd414
Stop using fake get_route
gberaudo Mar 29, 2019
a0424dd
Add ldap documentation and fix prepopulated user
gberaudo Mar 29, 2019
d030aaf
Add missing environments
gberaudo Mar 29, 2019
361dce6
Remove default mymaps role
gberaudo Mar 29, 2019
e068511
Typo
Apr 2, 2019
9ed8851
Fix routing attributions
gberaudo Apr 2, 2019
5be9bab
Force https for servers access
gberaudo Apr 2, 2019
b3d6641
Restore a clean shortener base url
gberaudo Apr 2, 2019
487cc13
Upgrade print version
gberaudo Apr 2, 2019
5346ebe
Fix print config and clean it
gberaudo Apr 2, 2019
3be9b83
Ensure the old docker containers are destroyed
gberaudo Apr 2, 2019
43dae63
Document print log variables
gberaudo Apr 2, 2019
bac9cb9
Expose print durig local development
gberaudo Apr 3, 2019
155ab06
Rewrite arrow urls for the print
gberaudo Apr 3, 2019
981fa9f
Fix print scales ordering
gberaudo Apr 3, 2019
b6f957f
Fake the reverse geocoding on local dev
gberaudo Apr 8, 2019
8cde537
Fix application manifest template
gberaudo Apr 8, 2019
eee8d9d
Clean DB migration
gberaudo Apr 11, 2019
e973163
Fix mymaps issues
gberaudo Apr 16, 2019
46b89f7
Simplify finalize_c2c_23 script
gberaudo Apr 16, 2019
29188d1
Clarify the different roles used in the application
gberaudo Apr 16, 2019
3aaa86f
Fix local dev connection to /admin
gberaudo Apr 16, 2019
9ce2536
Avoid error when no search suggestion is returned
gberaudo Apr 16, 2019
ea57388
Simplify fix-db
gberaudo Apr 16, 2019
80388fb
It makes get feature info query limit configurable in db
gberaudo Apr 16, 2019
e72c673
Update finalize alembic script
gberaudo Apr 16, 2019
6028a70
Remove useless finalization
gberaudo Apr 16, 2019
6a0111a
Allow shop in CSP
gberaudo Apr 16, 2019
1bd0a91
Resolve OGC servers like in 1.x and clean up the code
gberaudo Apr 16, 2019
9ce32f6
Typos
gberaudo Apr 23, 2019
73567f7
Disable LDAP pool
gberaudo Apr 23, 2019
92468bd
Merge pull request #2209 from Geoportail-Luxembourg/fix_recreate-sear…
gberaudo Apr 23, 2019
1606490
Add elastic search container for local dev and fix layers2es.py
gberaudo Apr 23, 2019
2a15cbd
Avoid suggestion error in UI
gberaudo Apr 23, 2019
63eb053
Fix print config path
gberaudo Apr 23, 2019
39b21ce
Add missing files
gberaudo Apr 23, 2019
66cb193
Workaround OpenLayers feature style function removal
gberaudo Apr 23, 2019
777b8b2
Add reload Makefile target
gberaudo Apr 24, 2019
1a7fe73
Have print go through custom print proxy
gberaudo Apr 24, 2019
a827f7c
Fix some update-pots errors
gberaudo May 1, 2019
3a254b1
Fix make update-translations
gberaudo May 2, 2019
dcf8fcd
Update c2cgeoportal to fix login issue
gberaudo May 2, 2019
5d86ba9
Fix httplib2 version
gberaudo May 2, 2019
68019f6
Fix copyright not appearing on print
gberaudo May 2, 2019
284165d
Fix retina layers
gberaudo May 3, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.js]
indent_size = 2

[Makefile]
indent_style = tab
48 changes: 12 additions & 36 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
{
"extends": "openlayers",
"env": {
"jquery": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"generators": false,
"objectLiteralDuplicateProperties": false
},
"sourceType": "module"
},
"rules": {
"no-console": 0
},
"globals": {
"angular": false,
"goog": false,
"d3": false,
"Bloodhound": false,
"ol": false,
"olcs": false,
"Cesium": false,
"proj4": false,
"ngeo": false,
"gmf": false,
"app": false,
"Fuse": false,
"lux": false,
"autoComplete": false,
"JSZip": false,
"Promise": true,
"google": false
}
}
extends: /usr/lib/node_modules/ngeo/.eslintrc.yaml
globals:
'geoportailv3': false
'olcs': false
'JSZip': false
'Fuse': false
rules:
'prefer-arrow-callback': 0
'indent': 0
'no-var': 0
'prefer-template': 0
'prefer-const': 0
55 changes: 22 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
*~
*.pyc
*.po~
/apache/README.txt
/apache/frontend.conf
/apache/mapserver.conf
/apache/wsgi.conf
/apache/application.wsgi
/deploy/deploy.cfg
/alembic.ini
/alembic_static.ini
/lux_alembic.ini
/development.ini
/production.ini
/project.yaml
/*.egg-info/
/print/WEB-INF/classes/logback.xml
/geoportailv3/locale/*/LC_MESSAGES/*.mo
/geoportailv3/locale/*/LC_MESSAGES/*-client.po
/geoportailv3/locale/*/LC_MESSAGES/*-client-tooltips.po
/geoportailv3/static/mobile/
#/geoportailv3/static/mobile/resources/sass/.sass-cache
#/geoportailv3/static/mobile/resources/css/app.css
#/geoportailv3/static/mobile/archive/
#/geoportailv3/static/mobile/build/
#/geoportailv3/static/mobile/openlayers-mobile.js
#/geoportailv3/static/mobile/bootstrap.js
#/geoportailv3/static/mobile/bootstrap.json
/geoportailv3/static/build
/geoportailv3/locale/*.pot
/.eggs
/.build
/package-lock.json
/node_modules
vars_wepa.yaml
*.pyo
__pycache__/
/.env
/geoportal/.venv/
/geoportal/dist/
/geoportal/build/
/geoportal/geoportailv3_geoportal/static-ngeo/build/
/geoportal/geoportailv3_geoportal.egg-info/
/geoportal/geoportailv3_geoportal/locale/*/LC_MESSAGES/*.mo
/geoportal/c2cgeoportal/
/geoportal/node_modules/
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-client.pot
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-server.pot
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-tooltips.pot
/geoportal/geoportailv3_geoportal/locale/ngeo.pot
/.build/
/node_modules/
/geoportailv3/
/apache/
/print/WEB-INF/
/geoportailv3.egg-info/
7 changes: 0 additions & 7 deletions .jshintrc

This file was deleted.

37 changes: 5 additions & 32 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,12 @@
language: python

dist: trusty

python:
- 2.7
---

sudo: false

addons:
postgresql: "9.5"
apt:
packages:
- postgresql-9.5-postgis-2.3

install:
- createdb -E UTF8 -T template0 template_postgis -U postgres
- psql -d template_postgis -c "CREATE EXTENSION postgis;" -U postgres
- createdb -E UTF8 -T template_postgis lux -U postgres
- createuser www-data --no-superuser --no-createdb --no-createrole -U postgres
- psql -d lux -c 'CREATE SCHEMA geov3;' -U postgres
- psql -d lux -c 'CREATE SCHEMA geov3_static;' -U postgres
- psql -d lux -c 'CREATE SCHEMA geov3_stats;' -U postgres
- psql -d lux -c "ALTER USER \"www-data\" PASSWORD 'www-data';" -U postgres
- psql -d lux -c 'GRANT SELECT ON spatial_ref_sys TO "www-data";' -U postgres
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3 TO "www-data";' -U postgres
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3_static TO "www-data";' -U postgres
- psql -d lux -c 'GRANT ALL ON SCHEMA geov3_stats TO "www-data";' -U postgres
- psql -d lux -c 'GRANT ALL ON geometry_columns TO "www-data";' -U postgres

- make -f travis.mk .build/requirements.timestamp || make -f travis.mk .build/requirements.timestamp
- make -f travis.mk .build/dev-requirements.timestamp || make -f travis.mk .build/dev-requirements.timestamp
- make -f travis.mk alembic.ini lux_alembic.ini
- .build/venv/bin/alembic upgrade head
- .build/venv/bin/alembic -c lux_alembic.ini upgrade head
- make -f travis.mk .build/build.js || make -f travis.mk .build/build.js
- make -f travis.mk build
- python3-netifaces

script:
- make -f travis.mk checks
- ln -s env-localdev .env
- make build
19 changes: 12 additions & 7 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,25 @@
host = https://www.transifex.com

[geoportailv3-lu.geoportailv3-client]
file_filter = geoportailv3/locale/<lang>/LC_MESSAGES/geoportailv3-client.po
source_file = geoportailv3/locale/geoportailv3-client.pot
file_filter = geoportal/geoportailv3_geoportal/locale/<lang>/LC_MESSAGES/geoportailv3_geoportal-client.po
source_file = geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-client.pot
source_lang = frp
type = PO

[geoportailv3-lu.geoportailv3-server]
file_filter = geoportailv3/locale/<lang>/LC_MESSAGES/geoportailv3-server.po
source_file = geoportailv3/locale/geoportailv3-server.pot
file_filter = geoportal/geoportailv3_geoportal/locale/<lang>/LC_MESSAGES/geoportailv3_geoportal-server.po
source_file = geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-server.pot
source_lang = frp
type = PO


[geoportailv3-lu.geoportailv3-tooltips]
file_filter = geoportailv3/locale/<lang>/LC_MESSAGES/geoportailv3-tooltips.po
source_file = geoportailv3/locale/geoportailv3-tooltips.pot
file_filter = geoportal/geoportailv3_geoportal/locale/<lang>/LC_MESSAGES/geoportailv3_geoportal-tooltips.po
source_file = geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-tooltips.pot
source_lang = frp
type = PO

[ngeo.ngeo-2_3]
file_filter = geoportal/geoportailv3_geoportal/locale/<lang>/LC_MESSAGES/ngeo.po
source_file = geoportal/geoportailv3_geoportal/locale/ngeo.pot
source_lang = frp
type = PO
Loading