File tree Expand file tree Collapse file tree 15 files changed +594
-215
lines changed Expand file tree Collapse file tree 15 files changed +594
-215
lines changed Original file line number Diff line number Diff line change 11.pytest_cache 
2- data 
2+ . / data 
33dist 
44venv 
55output 
Original file line number Diff line number Diff line change 11# CHANGELOG  
22
3+ ## v5.0.0-rc.1 (2024-08-19)  
4+ 
5+ ### Breaking  
6+ 
7+ *  feat(ping route): updates LAST_PING_TIME
8+ 
9+ BREAKING CHANGE: functions moved to utils_functions.py ([ ` bcb01de ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/bcb01ded807d2d8dfbca98dce209e5e13830aa40 ) )
10+ 
11+ ### Chore  
12+ 
13+ *  chore(deps): update ([ ` 191bfbf ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/191bfbfca0d16aacef152429deccb091f0d60e23 ) )
14+ 
15+ ### Unknown  
16+ 
17+ *  Merge pull request #89   from Geode-solutions/feat/ping_route
18+ 
19+ Feat/ping route ([ ` 35cf6e6 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/35cf6e6a8b92ff28128d8dab10c93c458541515c ) )
20+ 
21+ *  Apply prepare changes ([ ` 284b98b ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/284b98b64b209344ec5277cf34d782a475a52738 ) )
22+ 
23+ *  cleanup Closes #83   ([ ` 5e18763 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/5e187635380b0298ea36b10bd71733b5b946e0ac ) )
24+ 
25+ *  fix tests & ;  gloabl app_config ([ ` e247204 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/e247204a2d75c8c050f53b3b7d0eb00ee80765b0 ) )
26+ 
27+ *  Merge branch ' ; next' ;  into feat/ping_route ([ ` e4c6644 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/e4c66440d7cbf4803080b357a42377bb5246dd10 ) )
28+ 
29+ *  Merge pull request #88   from Geode-solutions/chore/update_ecosystem
30+ 
31+ Chore/update ecosystem ([ ` 1676c23 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/1676c239a68cc4115136452df209b6a87ce18fc3 ) )
32+ 
33+ *  test.pl file ([ ` 84696d1 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/84696d1a314f53ef5d8a1a20866cddaddc652b7a ) )
34+ 
35+ *  test ([ ` e8eb151 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/e8eb1514fe53c5be45e67f2943c5b433838efd6f ) )
36+ 
37+ *  update tests ([ ` 326c3a9 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/326c3a9de028a5d1bdd2f42c26edf3c7227b55cf ) )
38+ 
39+ *   ([ ` a98eb92 ` ] ( https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/a98eb920912bc2d8d87b36bd2139e79be3ef6c74 ) )
40+ 
341## v4.3.1 (2024-07-17)  
442
543### Unknown  
Original file line number Diff line number Diff line change 77from  werkzeug .exceptions  import  HTTPException 
88
99from  src .opengeodeweb_back .routes  import  blueprint_routes 
10- from  src .opengeodeweb_back .geode_functions  import  handle_exception 
10+ from  src .opengeodeweb_back .utils_functions  import  handle_exception 
11+ from  src .opengeodeweb_back  import  app_config 
1112
1213
1314""" Global config """ 
1718FLASK_DEBUG  =  True  if  os .environ .get ("FLASK_DEBUG" , default = None ) ==  "True"  else  False 
1819
1920if  FLASK_DEBUG  ==  False :
20-     app .config .from_object ("config .ProdConfig"  )
21+     app .config .from_object (app_config .ProdConfig )
2122else :
22-     app .config .from_object ("config .DevConfig"  )
23+     app .config .from_object (app_config .DevConfig )
2324
24- 
25- PORT  =  int (app .config .get ("PORT" ))
25+ PORT  =  int (app .config .get ("DEFAULT_PORT" ))
2626ORIGINS  =  app .config .get ("ORIGINS" )
2727SSL  =  app .config .get ("SSL" )
2828
  Load Diff This file was deleted. 
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
66[project ]
77name  = " OpenGeodeWeb-Back" 
8- version  = " 4.3 .1" 
8+ version  = " 5.0.0-rc .1" 
99dynamic  = [" dependencies"  ]
1010authors  = [
1111  { 
name =
" Geode-solutions" , 
email =
" [email protected] "  },
Original file line number Diff line number Diff line change 11# 
2- # This file is autogenerated by pip-compile with Python 3.11  
2+ # This file is autogenerated by pip-compile with Python 3.10  
33# by the following command: 
44# 
55#    pip-compile requirements.in 
66# 
77asgiref == 3.8.1 
88    # via flask 
9- attrs == 23 .2.0
9+ attrs == 24 .2.0
1010    # via 
1111    #   jsonschema 
1212    #   referencing 
@@ -20,52 +20,55 @@ flask[async]==3.0.3
2020    #   flask-cors 
2121flask-cors == 4.0.1 
2222    # via -r requirements.in 
23- geode-background == 7.12.0 
23+ geode-background == 8.1.1 
2424    # via 
2525    #   geode-explicit 
2626    #   geode-implicit 
2727    #   geode-simplex 
28- geode-common == 31.2.1 
28+ geode-common == 32.0.8 
2929    # via 
3030    #   -r requirements.in 
3131    #   geode-background 
32+     #   geode-conversion 
3233    #   geode-explicit 
3334    #   geode-implicit 
3435    #   geode-numerics 
3536    #   geode-simplex 
3637    #   geode-viewables 
37- geode-conversion == 5.4.1 
38+ geode-conversion == 6.0.3 
3839    # via 
3940    #   geode-explicit 
4041    #   geode-implicit 
41- geode-explicit == 4.8.3 
42+ geode-explicit == 6.0.1 
4243    # via 
4344    #   -r requirements.in 
4445    #   geode-implicit 
45- geode-implicit == 2.8.7 
46+ geode-implicit == 3.1.1 
4647    # via -r requirements.in 
47- geode-numerics == 4.4.0 
48+ geode-numerics == 5.0.2 
4849    # via 
4950    #   -r requirements.in 
5051    #   geode-implicit 
5152    #   geode-simplex 
52- geode-simplex == 6.8.3 
53-     # via -r requirements.in 
54- geode-viewables == 2.2.3 
53+ geode-simplex == 8.2.1 
54+     # via 
55+     #   -r requirements.in 
56+     #   geode-implicit 
57+ geode-viewables == 3.0.0 
5558    # via -r requirements.in 
5659itsdangerous == 2.2.0 
5760    # via flask 
5861jinja2 == 3.1.4 
5962    # via flask 
60- jsonschema == 4.22 .0 
63+ jsonschema == 4.23 .0 
6164    # via -r requirements.in 
6265jsonschema-specifications == 2023.12.1 
6366    # via jsonschema 
6467markupsafe == 2.1.5 
6568    # via 
6669    #   jinja2 
6770    #   werkzeug 
68- opengeode-core == 14.21.3 
71+ opengeode-core == 15.2.1 
6972    # via 
7073    #   -r requirements.in 
7174    #   geode-background 
@@ -80,23 +83,23 @@ opengeode-core==14.21.3
8083    #   opengeode-geosciencesio 
8184    #   opengeode-inspector 
8285    #   opengeode-io 
83- opengeode-geosciences == 7.7 .0
86+ opengeode-geosciences == 8.0 .0
8487    # via 
8588    #   -r requirements.in 
8689    #   geode-implicit 
8790    #   geode-viewables 
8891    #   opengeode-geosciencesio 
89- opengeode-geosciencesio == 4.7.7 
92+ opengeode-geosciencesio == 5.0.1 
9093    # via 
9194    #   -r requirements.in 
9295    #   geode-implicit 
93- opengeode-inspector == 5.1.4 
96+ opengeode-inspector == 6.0.0 
9497    # via 
9598    #   -r requirements.in 
9699    #   geode-explicit 
97100    #   geode-implicit 
98101    #   geode-simplex 
99- opengeode-io == 6.5 .1
102+ opengeode-io == 7.0 .1
100103    # via 
101104    #   -r requirements.in 
102105    #   geode-implicit 
@@ -106,10 +109,12 @@ referencing==0.35.1
106109    # via 
107110    #   jsonschema 
108111    #   jsonschema-specifications 
109- rpds-py == 0.18.1  
112+ rpds-py == 0.20.0  
110113    # via 
111114    #   jsonschema 
112115    #   referencing 
116+ typing-extensions == 4.12.2 
117+     # via asgiref 
113118werkzeug == 3.0.3 
114119    # via 
115120    #   -r requirements.in 
Original file line number Diff line number Diff line change 1+ # Standard library imports 
2+ import  os 
3+ import  time 
4+ 
5+ # Third party imports 
6+ # Local application imports 
7+ 
8+ 
9+ class  Config (object ):
10+     FLASK_DEBUG  =  os .environ .get ("FLASK_DEBUG" , default = False )
11+     DEFAULT_PORT  =  "5000" 
12+     CORS_HEADERS  =  "Content-Type" 
13+     UPLOAD_FOLDER  =  "./uploads" 
14+     DESKTOP_APP  =  False 
15+     REQUEST_COUNTER  =  0 
16+     LAST_REQUEST_TIME  =  time .time ()
17+     LAST_PING_TIME  =  time .time ()
18+ 
19+ 
20+ class  ProdConfig (Config ):
21+     SSL  =  None 
22+     ORIGINS  =  "" 
23+     MINUTES_BEFORE_TIMEOUT  =  "1" 
24+     SECONDS_BETWEEN_SHUTDOWNS  =  "10" 
25+     DATA_FOLDER_PATH  =  "/data/" 
26+ 
27+ 
28+ class  DevConfig (Config ):
29+     SSL  =  None 
30+     ORIGINS  =  "*" 
31+     MINUTES_BEFORE_TIMEOUT  =  "1" 
32+     SECONDS_BETWEEN_SHUTDOWNS  =  "10" 
33+     DATA_FOLDER_PATH  =  "./data/" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments