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

Version 2.0.0 multi tenant #296

Merged
merged 42 commits into from
Sep 25, 2024
Merged

Conversation

meomancer
Copy link
Collaborator

No description provided.

@meomancer meomancer marked this pull request as draft August 20, 2024 01:38
@meomancer meomancer force-pushed the version-2.0.0-multi-tenant branch 2 times, most recently from a9db59a to 9d59637 Compare August 20, 2024 09:24
@meomancer meomancer force-pushed the version-2.0.0-multi-tenant branch from 22afa86 to 01842b7 Compare August 20, 2024 10:16
@meomancer meomancer marked this pull request as ready for review August 20, 2024 10:18
@meomancer meomancer marked this pull request as draft August 20, 2024 10:18
@meomancer meomancer force-pushed the version-2.0.0-multi-tenant branch from ad21eaf to b1d4fdf Compare August 28, 2024 06:12
@meomancer meomancer force-pushed the version-2.0.0-multi-tenant branch from a7de0e7 to ceaa7be Compare August 28, 2024 12:42
@meomancer meomancer force-pushed the version-2.0.0-multi-tenant branch from 87c654f to bfb4a46 Compare August 31, 2024 12:37
@meomancer meomancer marked this pull request as ready for review September 25, 2024 04:25
@meomancer meomancer merged commit fde584f into version-2.0.0 Sep 25, 2024
2 checks passed
@meomancer meomancer deleted the version-2.0.0-multi-tenant branch September 25, 2024 04:33
meomancer added a commit that referenced this pull request Sep 29, 2024
* Implement cloud native gis (#282)

* Integrate cloud native gis

* Bump version 2.0.0

* Fix tests

* Fix flake

* Add layer list admin

* Fix modal selector for cloud native gis

* Add batch delete of layer

* Correct the layer order

* Add edit layer

* Add related name for creator

* Change table columns of layer

* Add create form for layer

* Add stream upload for cloud native gis layer

* Fix delete table when layer is deleted

* Fix flake

* Remove permission

* Revert all cloud native layer

* Put cloud native as a context layer data source

* Update form of context layer

* Update editor of cloud native to use maputnik

* Update editor button

* Add editor on dashboard level

* Fix mapbox style not being pulled

* Fix import

* Add background task to clean layer not linked to context layer

* Fix flake

* [Version 2.0.0] Multi reference layer (#268)

* Add view on Override admin level configuration layer

* Update reducer

* Update the data indicators

* Update indicator layer be able from same indicator

* Layer of label config

* Able to change reference layer by indicator layer

* Fix flake

* Update indicator method

* Update centroid

* Update legend

* Update fetching indicator data using cache control

* Fetch indicator for other datasets

* Update centroid

* Clean code

* Update method for fetching data of datasets and geometries

* Update filters for multiple datasets

* Clean code

* Fix geometry search

* Fix geometry of Related Table Layer

* Fix time series widget

* Remove geometries state

* Fix pin legend

* Fix legend

* Fix code based on failed test

* Fix on multiple selection

* Fix level selection dropdown

* Clean code

* Fix bug on drilldown

* Fix bug on drilldown

* Fic conflict

* Remove celery control folder

* Update gitignore

* Update flake conf

* Fix label config not pick up

* Fix widget for different reference view

* Fix workflow branches

* Add version-2.0.0 to tests (#290)

* Add version-2.0.0 to tests

* Fix docker-compose not found

* Fix github workflow

* [Version 2.0.0] Altering georepo using local boundary (#224)

* Update : Model local georepo

* Initialize uploader frontend

* Admin : reference layer list

* Add browse entity for reference layer view admin list

* Add CREATE form and run it

* Add geometry and centroid to fixtures

* Update reference layer API

* Update API for reference layer

* Fix flake

* Add vector tile

* Update API of local

* Update API of local for view selector

* Remove GeoRepo mock

* Clean code

* Fix test

* Fix ref admin and add index

* Add permission on view

* Fix tests and update fixtures

* Add individual delete of boundary

* Update centroid API to includes pc and pu

* Fix flake

* Change code type of dashboard to ucode as default

* Change 'Boundary' term to 'Reference Datasets'

* Add search name on entity browser

* Fix tests

* Fix drilldown

* Fix flake

* Fix column

* Pull main and fix tests

* Update code

* Add edit form

* Add create form

* Add update data form

* Add reference dataset importer list

* Update field selection function

* Update upload form

* Add importer

* Rename migrations

* Add view for dataset importer

* Add signals to delete file when deleted or changed

* Apply submitting form

* Fix E2E tests

* Add "manage local dataset" flag on user

* Fix flake

* Fix tests

* Change view selection between local and remote using radio button

* Add flag to show/hide local datasets on site preference

* Update core for enable_local_dataset

* Update flag to not using georepo remote

* Fix git ignore

* multi tenant (#296)

* Add multi tenant system

* Fix tests

* Bump version 2.0.0

* Clean code

* Fix celery

* Add ignore

* Fix beat scheduler

* Split media by folder and update the serve view for dev

* Update nginx to return correct media folder for tenant

* Fix flake

* Fix periodic task always using utc

* Rename field

* Revert tests

* Clean code

* Fix tests

* Update workflows

* Fix tests

* Update tenant based tests

* Add model limitation content and apply to project

* Add dashboard indicator layer limitation

* Add other dashboard relations limitation

* Fix flake

* Update requirements

* De-couple tenants

* Move tenants to geosight folder

* Refactor

* Fix media to use default django tenants approach

* Hide tenant admin from non public tenant

* Fix tests

* Move utils folder to georepo

* Add create tenant API

* Fix tests

* Add content limitation API

* Refactor tenants model

* Refactor models

* Add limitation API update and tests

* Add PLUGINS as env

* Update cloud native gis as plugin

* Update code

* Fix entrypoints

* Fix code and tests

* Make local reference dataset as plugin (#306)

* Move local dataset to own folder

* Add reference_dataset as plugin

* Update git workflow

* Update tests

* Make ucode as default mapping selection on project

* Fix tests

* Fix codes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant