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

Use the separate cache branch #2928

Open
wants to merge 671 commits into
base: integration
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
671 commits
Select commit Hold shift + click to select a range
7a7690a
Merge pull request #2855 from Geoportail-Luxembourg/fix_jsapi
rmichaelis Feb 28, 2022
a76bbef
fallback when the role does not exist
rmichaelis Feb 28, 2022
4be41b2
Merge pull request #2856 from Geoportail-Luxembourg/auth_fallback
rmichaelis Feb 28, 2022
27f523b
layer legend order. Bg should be the last one
rmichaelis Mar 1, 2022
476d0b0
Merge pull request #2857 from Geoportail-Luxembourg/fix_legend
rmichaelis Mar 1, 2022
776fee0
new tooltip
rmichaelis Mar 2, 2022
0d6d68a
Merge pull request #2858 from Geoportail-Luxembourg/fix_legend
rmichaelis Mar 2, 2022
47f7d06
new url
rmichaelis Mar 2, 2022
60e9b94
Merge pull request #2859 from Geoportail-Luxembourg/3d_tiles
rmichaelis Mar 2, 2022
b83cae0
Remove id when it's null
rmichaelis Mar 4, 2022
46e47c4
Merge pull request #2860 from Geoportail-Luxembourg/fix_id
rmichaelis Mar 4, 2022
00b8ab4
Chargy attributes
rmichaelis Mar 4, 2022
7943c68
Merge pull request #2861 from Geoportail-Luxembourg/fix_chargy
rmichaelis Mar 4, 2022
e4c1f19
Split chargy response in many tooltips
rmichaelis Mar 4, 2022
6572dbe
import at top of the file
rmichaelis Mar 4, 2022
1215ad6
Merge pull request #2862 from Geoportail-Luxembourg/fix_chargy
rmichaelis Mar 4, 2022
9c9f1d7
Get the legend for a layer
rmichaelis Mar 4, 2022
f83a6cb
Merge pull request #2863 from Geoportail-Luxembourg/fix_chargy
rmichaelis Mar 4, 2022
63d7d5a
return a valid empty response
rmichaelis Mar 8, 2022
129159c
Merge pull request #2864 from Geoportail-Luxembourg/fix_catalog
rmichaelis Mar 8, 2022
ddc68b3
The map should not be broken when piwik is not loaded
rmichaelis Mar 9, 2022
7a55e8c
Merge pull request #2865 from Geoportail-Luxembourg/fix_piwik
rmichaelis Mar 9, 2022
b6ad8fa
Search by layer id if is available
rmichaelis Mar 10, 2022
da70f40
Merge pull request #2866 from Geoportail-Luxembourg/fix_ghost_layers
rmichaelis Mar 10, 2022
766c029
add arcgis config
rmichaelis Mar 15, 2022
b4c9037
Merge pull request #2868 from Geoportail-Luxembourg/fix_config
rmichaelis Mar 15, 2022
ceb8043
Disable systematic token check
rmichaelis Mar 15, 2022
1d2f5f9
Merge pull request #2869 from Geoportail-Luxembourg/fix_config
rmichaelis Mar 15, 2022
176e921
Fix jsapi dev doc
fredj Mar 16, 2022
b2d0f78
Remove setBaseUrl calls from rebuild_api.sh
fredj Mar 18, 2022
7e11087
Don't use undefined layer in jsapi example
fredj Mar 18, 2022
7a52f27
Merge pull request #2870 from Geoportail-Luxembourg/GSLUX-458
fredj Mar 18, 2022
c2ec0b9
fix(jsdoc): export default classes after declaration to fix doc
tkohr Mar 21, 2022
fe65746
fix(jsdoc/index): fix links and display example map
tkohr Mar 21, 2022
8f6b862
chore(examples): update mymaps and layers examples to APIv4
tkohr Mar 21, 2022
1ee3197
use always graphhopper
rmichaelis Mar 21, 2022
db2250c
Merge pull request #2872 from Geoportail-Luxembourg/fix_graphhopper
rmichaelis Mar 21, 2022
e0efedd
round the seconds
rmichaelis Mar 22, 2022
f0dc292
Merge pull request #2874 from Geoportail-Luxembourg/fix_graphhopper
rmichaelis Mar 22, 2022
268324f
Merge pull request #2871 from Geoportail-Luxembourg/api-doc
tkohr Mar 22, 2022
c0870f7
preliminary (unclean) commit to share work
mki-c2c Mar 23, 2022
fdc5f36
Selection of points in mymaps layers
rmichaelis Mar 23, 2022
6be9f17
Merge pull request #2875 from Geoportail-Luxembourg/fix_mymaps_gfi
rmichaelis Mar 23, 2022
c8db491
refactor(examples): use relative back links
tkohr Mar 24, 2022
832e72a
fix(rebuild-js-api): add workdir to fix target
tkohr Mar 24, 2022
3625635
chore(openlayers): add ol dist
tkohr Mar 24, 2022
831a4c1
cleanup code and implement deactivation of 2D layers in mesh mode
mki-c2c Mar 24, 2022
7692246
implement default layers on 3D data and 3D mesh
mki-c2c Mar 24, 2022
6bd21de
read default layers from config
mki-c2c Mar 24, 2022
0c0b4e4
add pytree to the composition
Nov 18, 2021
1ba6ae0
update docker-compose
Nov 19, 2021
40f7f8c
Update doc for lidar dev
Nov 19, 2021
c880c3d
fix background layer on mesh activation
mki-c2c Mar 25, 2022
e7daa3b
fix(deps): copy and use ol, proj4, autocomplete dists
tkohr Mar 24, 2022
d010871
fix(dev): proxy api dev server to compo for resources
tkohr Mar 25, 2022
2a7e2ff
refactor(example): update ol example with es6 imports
tkohr Mar 25, 2022
7d2a2df
chore(doc): update readme
tkohr Mar 27, 2022
dd4684e
chore(git): update gitignores
tkohr Mar 27, 2022
43932ea
extend exclusion mechanism to 3D layers
mki-c2c Mar 28, 2022
9bff387
change functions so that string collection for localisation will work
mki-c2c Mar 28, 2022
36f45d5
Merge pull request #2876 from Geoportail-Luxembourg/api-examples
tkohr Mar 29, 2022
553a419
load 3D config from metadata
mki-c2c Mar 30, 2022
4e23fc9
add missing config file
mki-c2c Mar 30, 2022
9b8e3a1
fix minor problem for layer selection
mki-c2c Mar 30, 2022
fe5fbc7
fix initial camera position from URL
mki-c2c Mar 31, 2022
f96822a
cleanup
mki-c2c Mar 31, 2022
a60d48e
cleanup again
mki-c2c Mar 31, 2022
c101647
add documentation of 3D metadata configuration
mki-c2c Mar 31, 2022
3a3d268
fix order of 3d loading vs. tree layer loading
mki-c2c Mar 31, 2022
0bbfdde
undo modification to ngeo service
mki-c2c Apr 1, 2022
19ac2c7
feat(lidar): deangularize lidar manager
tonio Nov 26, 2021
1d23331
Merge remote-tracking branch 'origin/master' into integration
tkohr Apr 1, 2022
df006e7
fix disabled background on load from URL
mki-c2c Apr 1, 2022
efc828c
Import geometry collection
rmichaelis Apr 5, 2022
8b98897
Merge pull request #2879 from Geoportail-Luxembourg/fix_kml
rmichaelis Apr 5, 2022
b43e4c3
fix transparency of terrain and correct initialization of 3D view
mki-c2c Apr 5, 2022
538875f
fine tune per-Layer configuration of min zoom levels
mki-c2c Apr 5, 2022
46ec8e4
activate navigation out of the terrain buffer (minZoomLevel) when cha…
mki-c2c Apr 5, 2022
0056c1a
enable flying to target destination for better user experience
mki-c2c Apr 5, 2022
c55b0fc
chore(arcgis): add arcgis env vars
tkohr Apr 6, 2022
7558379
Manage url with no bglayer parameter
rmichaelis Apr 6, 2022
7e28c94
Merge pull request #2880 from Geoportail-Luxembourg/fix_bg
rmichaelis Apr 6, 2022
d385169
Update tracing.html
jaykayone Apr 6, 2022
ede64a3
refactor(apiv4loader): load OL and proj4 with APIv4
tkohr Mar 30, 2022
224bc50
chore(apiv4): rename apiv3 to apiv4
tkohr Mar 30, 2022
c4b5319
chore(apiv4): rename apiv3 to apiv4 in absolute urls
tkohr Apr 6, 2022
9499096
chore(geoportal): rename apiv3 to apiv4
tkohr Apr 6, 2022
e2265cd
Check if the remote style exists or not
rmichaelis Apr 7, 2022
dbf0671
Merge pull request #2881 from Geoportail-Luxembourg/fix_bg
rmichaelis Apr 7, 2022
e827b50
remove obsolete CESIUM terrain URL
mki-c2c Apr 7, 2022
1c939c0
take into account review remarks for logical comparisons
mki-c2c Apr 7, 2022
dc7a820
Merge branch 'integration' into GSLUX-471_3d_catalog
mki-c2c Apr 7, 2022
dd84ad5
Merge pull request #2877 from Geoportail-Luxembourg/GSLUX-471_3d_catalog
mki-c2c Apr 8, 2022
ee7f7ee
clean up spurious import of unused module
mki-c2c Apr 8, 2022
6d02469
Merge pull request #2878 from Geoportail-Luxembourg/apiv4-naming
tkohr Apr 12, 2022
9aa2159
wrong id was used
rmichaelis Apr 12, 2022
8df0a98
Merge pull request #2882 from Geoportail-Luxembourg/fix_sentiers
rmichaelis Apr 12, 2022
cf722b8
fix(public_mymaps): fix preview maps and file downloads
tkohr Apr 12, 2022
8cb99a2
Simplify the process
rmichaelis Apr 12, 2022
c2e5d42
Merge pull request #2883 from Geoportail-Luxembourg/fix_sentiers
rmichaelis Apr 12, 2022
60fa9a0
feat: try to connect elements
MaYohann Apr 14, 2022
c4ed9ad
fix: less file
MaYohann Apr 14, 2022
408272c
fix: services
MaYohann Apr 18, 2022
59b0e36
make terrain URL configurable in admin interface
mki-c2c Apr 19, 2022
b88ebeb
fix url for terrain tile server
mki-c2c Apr 19, 2022
d24fbe0
put ipv6 URL substitution option into vars.yaml config file
mki-c2c Apr 19, 2022
358fa86
document behaviour
mki-c2c Apr 19, 2022
b75f63d
feat(lidar): reset profiles when opening panel and drawing new line
tkohr Apr 20, 2022
1f633c0
style(lidar): hide lidar for mobile
tkohr Apr 20, 2022
0dfcf08
fix(lidar): prevent negative sizes for plot canvas, svg
tkohr Apr 20, 2022
9b8dfb1
temp(lidar): test profile in CH with real data
tkohr Apr 20, 2022
89c87fb
fix(lidar-panel): do not call backend when reseting profile
tkohr Apr 21, 2022
ec875bb
fix(lidar-plot): regenerate profile DOM completely on activation
tkohr Apr 21, 2022
35c36d0
Update info.html
rmichaelis Apr 21, 2022
abbb1b8
Merge pull request #2885 from Geoportail-Luxembourg/rmichaelis-patch-1
rmichaelis Apr 21, 2022
b84feb5
style(plot): change background color, add padding
tkohr Apr 21, 2022
c8baf1e
fix(plot): transform coords to fix plot-map synchro
tkohr Apr 21, 2022
ff5450d
feat(lidar-panel): add measure tool and display buttons only if profile
tkohr Apr 21, 2022
2611dda
improve async setting of terrain
mki-c2c Apr 22, 2022
5b037cd
Merge pull request #2884 from Geoportail-Luxembourg/GSLUX-485_configu…
mki-c2c Apr 22, 2022
97a12d6
Same legend as in the legend panel
rmichaelis Apr 26, 2022
d6b2f6d
Merge pull request #2886 from Geoportail-Luxembourg/fix_legend
rmichaelis Apr 26, 2022
a5a55c8
Update authentication.html
rmichaelis Apr 27, 2022
ac6f338
Merge pull request #2887 from Geoportail-Luxembourg/rmichaelis-patch-1
rmichaelis Apr 27, 2022
aa44ea9
Do not show emty results
rmichaelis May 10, 2022
f1eb8b4
Merge pull request #2889 from Geoportail-Luxembourg/fix_query
rmichaelis May 10, 2022
de296b4
feat: download csv with library
MaYohann May 10, 2022
4334c2d
catch error when piwik is not properly loaded
rmichaelis May 11, 2022
bfa0226
Merge pull request #2890 from Geoportail-Luxembourg/fix_undef_piwik
rmichaelis May 11, 2022
1aee5c8
Secure download
rmichaelis May 13, 2022
7eccad8
Merge pull request #2891 from Geoportail-Luxembourg/arcgis_download
rmichaelis May 13, 2022
b24f679
Multiple download
rmichaelis May 13, 2022
bf2c5e9
Merge pull request #2892 from Geoportail-Luxembourg/arcgis_download
rmichaelis May 13, 2022
bc44e06
Merge pull request #2893 from Geoportail-Luxembourg/integration
rmichaelis May 16, 2022
d0404db
Remove lidar button beacause still in dev
rmichaelis May 16, 2022
e96dc5f
Merge pull request #2894 from Geoportail-Luxembourg/remove_lidar_button
rmichaelis May 16, 2022
1ae5df4
Check if layer exists
rmichaelis May 16, 2022
21630eb
Merge pull request #2895 from Geoportail-Luxembourg/remove_lidar_button
rmichaelis May 16, 2022
f0ca4ab
quick fix, to be able to open the mymaps popup
rmichaelis May 17, 2022
1b77745
Merge pull request #2896 from Geoportail-Luxembourg/remove_lidar_button
rmichaelis May 17, 2022
d06ab5a
feat: lidar profile button under measure group
MaYohann May 18, 2022
e6726e3
Restore 3D layers
rmichaelis May 18, 2022
7f84b67
Merge pull request #2898 from Geoportail-Luxembourg/remove_lidar_button
rmichaelis May 18, 2022
69455c6
fix(MyMapsController): remove setDragHandler method
tkohr May 18, 2022
88160a2
Merge pull request #2899 from Geoportail-Luxembourg/fix-mymaps
tkohr May 19, 2022
5aa736e
chore(package.json): raise angularjs version from 1.6.10 to 1.8.2 alo…
tkohr May 18, 2022
12b8a6b
feat(controllers): migrate to angularjs 1.8.2
tkohr May 18, 2022
5e968d3
fix(locationinfo): fix bindings for app reload with open info component
tkohr May 19, 2022
1de5cc1
fix(print): fix layer binding for print
tkohr May 19, 2022
271d056
feat(lidar): pass properties to web component (POC)
tkohr May 18, 2022
1b6baf0
Merge pull request #2897 from Geoportail-Luxembourg/angular-1.8
tkohr May 20, 2022
272b5e9
Fix 3D zoom issue
rmichaelis May 20, 2022
e61c498
Merge pull request #2901 from Geoportail-Luxembourg/fix_3D_zoom_button
rmichaelis May 20, 2022
119b085
fix: left panel with lidar
MaYohann May 22, 2022
01b52e0
chore: pytree-upgrade in docker-compose auto
MaYohann May 22, 2022
6c8beca
Merge remote-tracking branch 'origin/integration' into profil-lidar-bis
MaYohann May 23, 2022
60c5a3a
Increase max length to avoir errors when pasting a full adress
rmichaelis May 23, 2022
0b92343
Merge pull request #2902 from Geoportail-Luxembourg/fix_search
rmichaelis May 23, 2022
f0f28fc
fix(mymaps): fix "display orientation" for line styles
tkohr May 24, 2022
cba36fd
fix(lidar): fix open lidar from info panel
tkohr May 31, 2022
2e79e19
refactor(lidar-panel): set draw active by default
tkohr May 31, 2022
d07c10a
style(lidar-panel): change line style
tkohr May 31, 2022
abd09a6
feat(lidar-panel): add button to reset plot to original extent
tkohr May 31, 2022
8bf81ce
fix(lidar-utils): transform clippedLine to map projection
tkohr Jun 1, 2022
1e4deec
refactor(proj4): remove unnecessary proj4 defintions and recover lux …
tkohr Jun 1, 2022
9849b38
feat(lidar-panel): make measure button toggleable
tkohr Jun 1, 2022
78b6cf0
Update geocode.py
rmichaelis Jun 3, 2022
2aa5c98
Merge pull request #2904 from Geoportail-Luxembourg/rmichaelis-patch-1
rmichaelis Jun 3, 2022
45d5d09
Merge pull request #2903 from Geoportail-Luxembourg/angular-migration…
tkohr Jun 3, 2022
6b6a2b8
Update geocode.py
rmichaelis Jun 7, 2022
24a69ca
Merge pull request #2906 from Geoportail-Luxembourg/rmichaelis-patch-1
rmichaelis Jun 7, 2022
52a2ec3
Mousemove replaced by pointermove
rmichaelis Jun 14, 2022
3cd75cc
Merge pull request #2907 from Geoportail-Luxembourg/fix_api
rmichaelis Jun 14, 2022
4e66e90
set piwik id
rmichaelis Jun 14, 2022
8d8b582
Merge pull request #2908 from Geoportail-Luxembourg/fix_api
rmichaelis Jun 14, 2022
a020c15
use olcscore
rmichaelis Jun 16, 2022
1b2d0c1
Merge pull request #2909 from Geoportail-Luxembourg/fix_olcs
rmichaelis Jun 16, 2022
ada8047
feat(i18n): translate labels in lidar component
tkohr Jun 10, 2022
2d5a623
fix: opacity after switch
MaYohann Jun 22, 2022
ca64d8c
feat(config): use and translate lux lidar classification
tkohr Jun 20, 2022
6a9108d
feat(i18n): facilitate use of i18next
tkohr Jun 20, 2022
d37bb77
feat(i18n): add ngeo, gmf strings to i18n parsing
tkohr Jun 23, 2022
7e67fe6
feat(i18n): extract strings from contrib/gmf/lidarprofile
tkohr Jun 23, 2022
1d6b831
feat(measure): add label for measure buttons
tkohr Jun 23, 2022
a14cf4a
feat(plot): add button on plot to close lidar
tkohr Jun 23, 2022
67254e2
feat(measure): deactivate zoom and pan when measuring
tkohr Jun 23, 2022
91fba75
Merge pull request #2910 from Geoportail-Luxembourg/fix-opacity-3d-sw…
MaYohann Jun 24, 2022
603fa70
feat(i18n): add webcomponent translations to transifex config
tkohr Jun 29, 2022
7cffe24
Link to oblique only for ACT
rmichaelis Jun 29, 2022
47855da
Merge pull request #2911 from Geoportail-Luxembourg/fix_obliques
rmichaelis Jun 29, 2022
2610287
Merge remote-tracking branch 'origin/master' into integration
tkohr Jul 1, 2022
146ede2
feat(offline-bar): add bar for offline buttons and add ngeoOffline to…
tkohr Jul 1, 2022
6efd3f5
feat(offline-bar): move ngeoOffline tool back to main.html
tkohr Jul 6, 2022
ee91bd0
implement test controls for offline API as a webcomponent
mki-c2c Nov 30, 2021
3431976
use correct specification of local mobile server
mki-c2c Dec 1, 2021
bcf5d5f
feat(offline-bar): display offline web component in offline bar and d…
tkohr Jul 6, 2022
81a7afc
use correct type of mobile touch event and explicitly call angular di…
mki-c2c Jul 12, 2022
098dbcd
make results box of search bar scrollable
mki-c2c Jul 13, 2022
ac69114
chore: env environment for debugging log
MaYohann Jul 27, 2022
e00c4c9
style(offline-bar): add icon to button
tkohr Jul 27, 2022
c5eaa36
feat(full-offline): implement web component for enduser
tkohr Jul 27, 2022
c10388b
fix(full-offline): do not use ng-if to prevent two web component butt…
tkohr Jul 27, 2022
7f6c879
fix(full-offline): disable button on desktop
tkohr Jul 27, 2022
3f40455
feat(ngeo-offline): disable button if full offline is active
tkohr Jul 27, 2022
4491f52
chore(i18next): translate labels to FR, DE
tkohr Jul 27, 2022
ad7ee7b
fix(full-offline): download tiles on update that are not stored local…
tkohr Jul 27, 2022
afeb7df
fix(format): add semicolons
tkohr Jul 27, 2022
5032612
Remove json decoding
mki-c2c Jul 28, 2022
7c6ce66
fix path for mobile
mki-c2c Jul 28, 2022
38f0f7a
feat(full-offline): start check interval only once on update
tkohr Jul 28, 2022
3e079cd
skip large hillshade package
mki-c2c Jul 28, 2022
eea7ed9
avoid multiple checks for one update.
mki-c2c Jul 28, 2022
fb31fee
declare class property
mki-c2c Jul 28, 2022
f2e4eb4
Merge pull request #2912 from Geoportail-Luxembourg/offline-ui
mki-c2c Jul 28, 2022
5fc47bb
Merge pull request #2914 from Geoportail-Luxembourg/GSLUX-463_fix_IOS…
mki-c2c Jul 28, 2022
2dd165f
Merge pull request #2913 from Geoportail-Luxembourg/GSLUX-461_fix_lon…
mki-c2c Jul 28, 2022
034c5c7
migration of time features to 2.5 tree
mki-c2c Feb 8, 2021
9269188
fix time layers
mki-c2c May 9, 2022
4c3cc27
fix time layers and add time position override
mki-c2c Jul 29, 2022
455ec09
chore: align docker conf with webapp conf
MaYohann Jul 28, 2022
85ddc36
fix wmts time selector by generating independently cached layer objects
mki-c2c Aug 5, 2022
a6711fb
change wmts time config on a per layer base
mki-c2c Aug 5, 2022
44c28e9
remove broken THEME import
mki-c2c Aug 5, 2022
18399f3
Merge pull request #2888 from Geoportail-Luxembourg/time_layers_2.5
mki-c2c Aug 5, 2022
b9e00a9
fix formatting of minutes in time slider display
mki-c2c Aug 5, 2022
1781430
fix default timesteps
mki-c2c Aug 5, 2022
4376683
explicitly specify default layer for time wmts
mki-c2c Aug 5, 2022
443bfd3
Merge pull request #2917 from Geoportail-Luxembourg/fix_time_layers
mki-c2c Aug 5, 2022
433e406
insert time range information into WMS query
mki-c2c Aug 8, 2022
02972e4
fix time range for arcgis rest servers
mki-c2c Aug 8, 2022
d31d92d
explanatory comment
mki-c2c Aug 8, 2022
8615142
Merge pull request #2918 from Geoportail-Luxembourg/fix_internal_time…
mki-c2c Aug 8, 2022
92a6eaf
use null upper time range limit to configure now Date
mki-c2c Aug 8, 2022
f44adf9
ensure the datepicker (z-index=3) is displayed above the time-slider …
mki-c2c Aug 8, 2022
327b7dc
Clarify doc
mki-c2c Aug 8, 2022
cb9f0c7
add layer times into local storage state and permalink
mki-c2c Aug 8, 2022
da21b1d
Merge pull request #2920 from Geoportail-Luxembourg/timeslider_enable…
mki-c2c Aug 8, 2022
e1cff20
chore: services fix
MaYohann Aug 9, 2022
b7a6d65
Merge pull request #2921 from Geoportail-Luxembourg/timelayers_permalink
mki-c2c Aug 10, 2022
5715c4c
tolerate failure in internal arcgis layers
mki-c2c Aug 10, 2022
bed6472
Merge pull request #2922 from Geoportail-Luxembourg/fix_arcgis_time_l…
mki-c2c Aug 10, 2022
1e6dc1c
add option to translate the time range by moving the lower handle
mki-c2c Aug 12, 2022
2bfd828
Merge pull request #2923 from Geoportail-Luxembourg/timeslider_transl…
mki-c2c Aug 12, 2022
e0b23fe
fix: compsoition lidar, graph width
MaYohann Aug 16, 2022
66f3f5d
chore: configuration
MaYohann Aug 17, 2022
cb88a8b
Merge branch 'integration' into profil-lidar-bis
MaYohann Aug 17, 2022
c25ed3c
Merge pull request #2900 from Geoportail-Luxembourg/profil-lidar-bis
MaYohann Aug 22, 2022
66df64a
make lidarProfileUrl configurable.
rmichaelis Aug 26, 2022
5e3b552
Merge pull request #2927 from Geoportail-Luxembourg/rmichaelis-patch-…
rmichaelis Aug 26, 2022
561c65e
Use the separate cache branch
sbrunner Sep 1, 2022
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
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*
!bin/
!mapserver/
!qgisserver/
!tilegeneration/
!print/print-apps/
!geoportal/vars*.yaml
!geoportal/CONST_vars.yaml
!geoportal/CONST_config-schema.yaml
!geoportal/geoportailv3_geoportal/static
!geoportal/geoportailv3_geoportal/locale
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,11 @@ trim_trailing_whitespace = true
[*.js]
indent_size = 2

[*.yaml]
indent_size = 2

[*.yml]
indent_size = 2

[Makefile]
indent_style = tab
26 changes: 10 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,19 @@
*~
*.pyc
*.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/
/docker-compose.override.yaml
/upgrade
/.upgrade.yaml
/.UPGRADE*
/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/geoportailv3_geoportal-legends.pot
/geoportal/geoportailv3_geoportal/locale/ngeo.pot
/.build/
/node_modules/
/geoportailv3/
/apache/
/print/WEB-INF/
/geoportailv3.egg-info/
/geoportal/jsapi/node_modules/
/geoportal/geoportailv3_geoportal/jsapi
.idea
*.iml
# Generated with dev mode
/geoportal/geoportailv3_geoportal/static/apihelp/index.html
lidar/data
22 changes: 22 additions & 0 deletions .prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
strictness: veryhigh

pep8:
options:
max-line-length: 110
disable:
- E203

pylint:
options:
max-line-length: 110
disable:
- too-many-locals
- too-many-statements
- too-many-branches

mccabe:
run: false

mypy:
run: true
9 changes: 9 additions & 0 deletions .tx/config
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ file_filter = geoportal/geoportailv3_geoportal/locale/<lang>/LC_MESSAGES/geoport
source_file = geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-legends.pot
source_lang = frp
type = PO

[geoportailv3-lu.geoportailv3-webcomponents]
source_file = geoportailv3_geoportal/static-ngeo/ngeo/locales/app.en.json
source_lang = en
type = KEYVALUEJSON
trans.en = geoportailv3_geoportal/static-ngeo/ngeo/locales/app.en.json
trans.fr = geoportailv3_geoportal/static-ngeo/ngeo/locales/app.fr.json
trans.de = geoportailv3_geoportal/static-ngeo/ngeo/locales/app.de.json
trans.lb = geoportailv3_geoportal/static-ngeo/ngeo/locales/app.lb.json
67 changes: 67 additions & 0 deletions CONST_CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
This file includes migration steps for each release of c2cgeoportal.


Version 2.5.0
=============

Information
-----------

1. Basic authentication is disabled by default from this version onward.
To enable basic auth see:
https://camptocamp.github.io/c2cgeoportal/2.5/integrator/security.html#basic-auth

2. We change the secret name from `GITHUB_GOPASS_CI_TOKEN` to `GOPASS_CI_GITHUB_TOKEN` because we can't
anymore create create secret started with `GITHUB_`.

3. Layers which have any errors are not added to the theme anymore.

4. If a WMS version is given in an OGC server URL, it will be used for the GetCapabilities request
Supported versions: 1.1.1 and 1.3.0

Changes to apply
----------------

1. Now we need to have PyYAML python package installed in the home,
see the documentation for more information:
https://camptocamp.github.io/c2cgeoportal/2.5/integrator/requirements.html

2. The configuration vars `vars/functionalities/anonymous` and `vars/functionalities/registered` should
be moved to the new roles `anonymous` and `registered` that will be created once the database has been upgraded.

3. The 'INSTANCE' configuration variable is removed, it should be in the '.env' files, and also the
environment makefiles, these contents should also be moved to the '.env' files. In a multi-organisation
project you can have a chain of multiple '.env' files see the build configuration documentation.

4. A new PostgreSQL extension is required, install it by running in psql:
`CREATE EXTENSION IF NOT EXISTS hstore;`

5. The static files will be moved, therefore you should replace:
`request.static_url('geoportailv3_geoportal:static/` by:
`request.static_url('/etc/geomapfish/static/`.

6. Optional, change your mapfiles according the documentation:
https://camptocamp.github.io/c2cgeoportal/2.5/administrator/mapfile.html


Version 2.4.2
=============

Information
-----------

1. The SVG inclusion through Webpack has changed, See ngeo SVG example for more information:
https://camptocamp.github.io/ngeo/master/examples/svg.html

2. The WMTS capabilities is now generated on runtime.

3. If not already done the 'edit' and 'routing' interfaces and their relations will be removed from the
database, If you don't want that, you should rename the interfaces before applying the alembic scripts.

4. If not already done the 'api' and 'iframe_api' will be created. After the database upgrade you can run
the following request to fill e.-g. the api's interfaces with the desktop interface:

INSERT INTO main.interface_layer (interface_id, layer_id)
SELECT <api_interface_id>, layer_id FROM main.interface_layer WHERE interface_id = <other_interface_id>;
INSERT INTO main.interface_theme (interface_id, theme_id)
SELECT <api_interface_id>, theme_id FROM main.interface_theme WHERE interface_id = <other_interface_id>;
11 changes: 11 additions & 0 deletions CONST_create_template/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*
!bin/
!mapserver/
!qgisserver/
!tilegeneration/
!print/print-apps/
!geoportal/vars*.yaml
!geoportal/CONST_vars.yaml
!geoportal/CONST_config-schema.yaml
!geoportal/geoportailv3_geoportal/static
!geoportal/geoportailv3_geoportal/locale
21 changes: 21 additions & 0 deletions CONST_create_template/.editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
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

[*.yaml]
indent_size = 2

[*.yml]
indent_size = 2

[Makefile]
indent_style = tab
56 changes: 56 additions & 0 deletions CONST_create_template/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
name: Continuous integration

on:
push:

env:
PROJECT: geoportailv3
# Requires CI_GPG_PRIVATE_KEY and GOPASS_CI_GITHUB_TOKEN secrets.
# OPENSHIFT_PROJECT: gs-gmf-geoportailv3
# HELM_RELEASE_NAMES: # List of branch that should be deployed on helm
PATH: /bin:/usr/bin:/usr/local/bin:/home/runner/.local/bin
SUMMON_PROVIDER: /usr/local/bin/gopass

jobs:
config:
runs-on: ubuntu-18.04
name: Config
timeout-minutes: 10

steps:
- uses: actions/checkout@v1

- name: Build config
run: ./build --config

- uses: camptocamp/initialise-gopass-summon-action@v1
with:
ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}
if: "env.HELM_RELEASE_NAMES != ''"
- run: scripts/publish-docker --image=config --no-trigger
if: "env.HELM_RELEASE_NAMES != ''"
- run: scripts/publish-docker --image=config --service=github
if: "env.HELM_RELEASE_NAMES != ''"

geoportal:
runs-on: ubuntu-18.04
name: Geoportal
timeout-minutes: 10

steps:
- uses: actions/checkout@v1

- name: Build geoportal
run: ./build --geoportal

- uses: camptocamp/initialise-gopass-summon-action@v1
with:
ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}}
github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}}
if: "env.HELM_RELEASE_NAMES != ''"
- run: scripts/publish-docker --image=geoportal --no-trigger
if: "env.HELM_RELEASE_NAMES != ''"
- run: scripts/publish-docker --image=geoportal --service=github
if: "env.HELM_RELEASE_NAMES != ''"
13 changes: 13 additions & 0 deletions CONST_create_template/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.pyc
*.pyo
__pycache__/
/.env
/docker-compose.override.yaml
/upgrade
/.upgrade.yaml
/.UPGRADE*
/geoportal/geoportailv3_geoportal/locale/geoportailv3_geoportal-client.pot
/env.personal

# Generated with dev mode
/geoportal/geoportailv3_geoportal/static/apihelp/index.html
22 changes: 22 additions & 0 deletions CONST_create_template/.prospector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
strictness: veryhigh

pep8:
options:
max-line-length: 110
disable:
- E203

pylint:
options:
max-line-length: 110
disable:
- too-many-locals
- too-many-statements
- too-many-branches

mccabe:
run: false

mypy:
run: true
66 changes: 66 additions & 0 deletions CONST_create_template/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
FROM camptocamp/geomapfish-tools:2.5.0.139 as builder

ENV LANGUAGES="en fr de"
ENV VARS_FILE=vars.yaml
ENV CONFIG_VARS sqlalchemy.url sqlalchemy.pool_recycle sqlalchemy.pool_size sqlalchemy.max_overflow \
sqlalchemy.use_batch_mode sqlalchemy_slave.url sqlalchemy_slave.pool_recycle sqlalchemy_slave.pool_size \
sqlalchemy_slave.max_overflow sqlalchemy_slave.use_batch_mode schema schema_static enable_admin_interface \
default_locale_name servers layers available_locale_names cache admin_interface getitfixed functionalities \
raster shortener hide_capabilities tinyowsproxy resourceproxy print_url print_get_redirect \
checker check_collector default_max_age package srid \
reset_password fulltextsearch global_headers headers authorized_referers hooks stats db_chooser \
dbsessions urllogin host_forward_host smtp c2c.base_path welcome_email \
lingua_extractor interfaces_config interfaces devserver_url api authentication intranet metrics pdfreport

COPY . /tmp/config/

RUN \
for lang in ${LANGUAGES}; \
do \
node /usr/bin/compile-catalog \
/opt/c2cgeoportal/geoportal/c2cgeoportal_geoportal/locale/${lang}/LC_MESSAGES/ngeo.po \
/opt/c2cgeoportal/geoportal/c2cgeoportal_geoportal/locale/${lang}/LC_MESSAGES/gmf.po \
/tmp/config/geoportal/geoportailv3_geoportal/locale/${lang}/LC_MESSAGES/geoportailv3_geoportal-client.po \
> /tmp/config/geoportal/geoportailv3_geoportal/static/${lang}.json; \
done && \
rm -rf /tmp/config/geoportal/geoportailv3_geoportal/locale

RUN \
cd /tmp/config/geoportal/ && \
c2c-template --vars ${VARS_FILE} \
--get-config geoportailv3_geoportal/config.yaml \
${CONFIG_VARS} && \
pykwalify --data-file geoportailv3_geoportal/config.yaml \
--schema-file CONST_config-schema.yaml && \
rm CONST_* vars.yaml

###############################################################################

FROM camptocamp/geomapfish-config:2.5.0.139

ARG PGSCHEMA
ENV PGSCHEMA=$PGSCHEMA

COPY --from=builder /tmp/config/ /tmp/config/

RUN \
if [ -e /tmp/config/mapserver ]; then mv /tmp/config/mapserver /etc/; fi && \
if [ -e /tmp/config/tilegeneration ]; then mv /tmp/config/tilegeneration /etc/; fi && \
if [ -e /tmp/config/qgisserver ]; then mv /tmp/config/qgisserver /etc/qgisserver; fi && \
mkdir --parent /usr/local/tomcat/webapps/ROOT/ && \
if [ -e /tmp/config/print ]; then mv /tmp/config/print/print-apps /usr/local/tomcat/webapps/ROOT/; fi && \
mv /tmp/config/geoportal/geoportailv3_geoportal/ /etc/geomapfish/ && \
chmod g+w -R /etc /usr/local/tomcat/webapps && \
adduser www-data root && \
sed 's#bind :80#bind *:443 ssl crt /etc/haproxy_dev/localhost.pem#g' /etc/haproxy/haproxy.cfg.tmpl \
> /etc/haproxy_dev/haproxy.cfg.tmpl && \
echo ' http-request set-header X-Forwarded-Proto https' >> /etc/haproxy_dev/haproxy.cfg.tmpl

VOLUME /etc/geomapfish \
/etc/mapserver \
/etc/qgisserver \
/etc/tilegeneration \
/usr/local/tomcat/webapps/ROOT/print-apps \
/etc/gunicorn \
/etc/haproxy_dev \
/etc/haproxy
29 changes: 29 additions & 0 deletions CONST_create_template/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
geoportailv3 project
===================

Read the `Documentation <https://camptocamp.github.io/c2cgeoportal/2.5/>`_

Checkout
--------

.. code::

git clone git@github.com:camptocamp/geoportailv3.git

cd geoportailv3

Build
-----

.. code::

./build

Run
---

.. code::

docker-compose up -d

.. Feel free to add project-specific things.
Loading