Skip to content

Commit

Permalink
Login-Screen entfernen (#1131)
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippluca authored Mar 19, 2024
2 parents 3e6068d + 0b9c30e commit 33ed077
Show file tree
Hide file tree
Showing 35 changed files with 3,254 additions and 1,421 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
- Removed property _isLast_ from `ChronostratigraphyLayer`, `LithostratigraphyLayer`, `LithologicalDescription` and `FaciesDescription`.
- Removed feedback functionality.
- Included new `swissgeol boreholes` logo and icon.
- Removed the configurable welcome message on the login overlay.
- Login is performed automatically on page visit.
- Use a non-root user to run the boreholes web application.

### Fixed
Expand Down
34 changes: 0 additions & 34 deletions db/03-data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -92,37 +92,3 @@ VALUES
(5, 4, 1),
(6, 4, 1),
(7, 4, 1);


INSERT INTO bdms.contents(
name_cnt,
draft_cnt,

title_cnt_en,
text_cnt_en,

title_cnt_de,
text_cnt_de,

title_cnt_fr,
text_cnt_fr,

title_cnt_it,
text_cnt_it

) VALUES (
'login',
FALSE,

'Welcome to boreholes.ch',
'A platform to acquire borehole data according to the Borehole data model defined by the Swiss Geological Survey at swisstopo ([more](https://geoservice2.ist.supsi.ch/docs/bdms)).',

'Willkommen bei boreholes.ch',
'Eine Plattform zur Erfassung von Bohrlochdaten nach dem von der Schweizerischen Landesgeologie bei swisstopo definierten Bohrlochdatenmodell ([mehr](https://geoservice2.ist.supsi.ch/docs/bdms)).',

'Bienvenue sur boreholes.ch',
'Une plate-forme pour l''acquisition de données de forage selon le modèle de données de forage défini par le Service géologique suisse à swisstopo ([en savoir plus](https://geoservice2.ist.supsi.ch/docs/bdms)).',

'Benvenuti su boreholes.ch',
'Una piattaforma per l''acquisizione di dati di trivellazione secondo il modello di dati di trivellazione definito dal Servizio geologico nazionale di swisstopo ([altro](https://geoservice2.ist.supsi.ch/docs/bdms)).'
);
4 changes: 0 additions & 4 deletions src/api-legacy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@
# Workflows handlers
from bms.v1.workflow.producer import WorkflowProducerHandler

# Content handlers
from bms.v1.content.handler import ContentHandler
from bms.v1.content.admin import ContentAdminHandler

# Terms handlers
from bms.v1.terms.handler import TermsHandler
from bms.v1.terms.admin import TermsAdminHandler
Expand Down
9 changes: 0 additions & 9 deletions src/api-legacy/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,6 @@ async def close(application):
# Workflow handlers
WorkflowProducerHandler,

# Content handlers
ContentHandler,
ContentAdminHandler,

# Terms handlers
TermsHandler,
TermsAdminHandler,
Expand Down Expand Up @@ -185,11 +181,6 @@ async def close(application):
# Workflow handlers
(r'/api/v1/workflow/edit', WorkflowProducerHandler),

# Content handlers
(r'/api/v1/content/admin', ContentAdminHandler),
(r'/api/v1/content', ContentHandler),
(r'/api/v1/content/(.*)', ContentHandler),

# Terms handlers
(r'/api/v1/terms', TermsHandler),
(r'/api/v1/terms/admin', TermsAdminHandler),
Expand Down
5 changes: 0 additions & 5 deletions src/api-legacy/v1/content/__init__.py

This file was deleted.

38 changes: 0 additions & 38 deletions src/api-legacy/v1/content/admin.py

This file was deleted.

129 changes: 0 additions & 129 deletions src/api-legacy/v1/content/draft.py

This file was deleted.

Loading

0 comments on commit 33ed077

Please sign in to comment.