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

feat: Merge extension in #230

Merged
merged 46 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
a0ff55c
[ckanext-zarr] feat: create README.md
ChasNelson1990 Jul 16, 2024
ba019a1
[ckanext-zarr] feat: initialise ckan extension
ChasNelson1990 Jul 16, 2024
9617770
[ckanext-zarr] fix: add .gitignore
ChasNelson1990 Jul 16, 2024
1cbad54
[ckanext-zarr] 2- branding for homepage, search page, dataset page an…
A-Souhei Aug 8, 2024
250b40c
[ckanext-zarr] Rename the __github to .github to effectively make the…
A-Souhei Aug 8, 2024
2bf3c09
[ckanext-zarr] With this commit, ZaRR should work with master branch …
A-Souhei Aug 14, 2024
458eb4c
[ckanext-zarr] 10 - additional ZaRR UI enhancements (https://github.c…
A-Souhei Aug 28, 2024
068adaf
[ckanext-zarr] 9- Dublin Core metadata standards (https://github.com/…
A-Souhei Aug 29, 2024
cc0fb18
[ckanext-zarr] 15-Updating about page (https://github.com/fjelltopp/c…
A-Souhei Aug 30, 2024
cb2e8df
[ckanext-zarr] feat: add a placeholder video to the homepage (https:/…
ChasNelson1990 Aug 30, 2024
44f9aba
[ckanext-zarr] feat: move datahub stats into footer (https://github.c…
A-Souhei Aug 30, 2024
380f17f
[ckanext-zarr] feat: make Dublin Core 'types' be CKAN 'groups' and di…
A-Souhei Aug 30, 2024
07ac055
[ckanext-zarr] feat: add small visual enhancements (https://github.co…
A-Souhei Aug 30, 2024
c0abedd
[ckanext-zarr] fix: update resource type in schema to match latest du…
ChasNelson1990 Aug 30, 2024
d0ef3b7
[ckanext-zarr] feat: simplify schema (https://github.com/fjelltopp/ck…
ChasNelson1990 Sep 1, 2024
04c092d
[ckanext-zarr] fix: correct minor typo
ChasNelson1990 Sep 1, 2024
ed20aa6
[ckanext-zarr] Updates to font sizes (https://github.com/fjelltopp/ck…
A-Souhei Sep 4, 2024
9726cc3
[ckanext-zarr] Added padding to licence (https://github.com/fjelltopp…
A-Souhei Sep 5, 2024
cf38018
[ckanext-zarr] fix: give webassets unique names (https://github.com/f…
ChasNelson1990 Sep 6, 2024
649beef
[ckanext-zarr] Add Organizations to menu bar (https://github.com/fjel…
A-Souhei Sep 10, 2024
225c7bc
[ckanext-zarr] ZaRR dataset read page to look like WHO-AFRO (https://…
A-Souhei Sep 19, 2024
76a83d3
[ckanext-zarr] Updating get_facet_items_dict (https://github.com/fjel…
A-Souhei Sep 25, 2024
cd99b2e
[ckanext-zarr] update in project description (https://github.com/fjel…
A-Souhei Sep 26, 2024
d25dd77
[ckanext-zarr] Removes custom field from organization_form.html (http…
A-Souhei Oct 2, 2024
0b6b001
[ckanext-zarr] 174 - Add mandatory check box about personally identif…
A-Souhei Oct 2, 2024
1a45d84
[ckanext-zarr] Add Zambia flag colors on promoted (https://github.com…
A-Souhei Oct 4, 2024
e35d60a
[ckanext-zarr] 179 - Change name (https://github.com/fjelltopp/ckane…
A-Souhei Oct 8, 2024
dd82e21
[ckanext-zarr] fix: relock npm from inside container (https://github.…
ChasNelson1990 Oct 8, 2024
fd669a5
[ckanext-zarr] feat: make group icons on homepage show their group im…
ChasNelson1990 Oct 8, 2024
b3e8397
[ckanext-zarr] 185 - Fjelltopp theme leaks through on the footer (htt…
A-Souhei Oct 9, 2024
68b0f3f
[ckanext-zarr] feat: remove custom fields for groups (https://github.…
A-Souhei Oct 9, 2024
2384263
[ckanext-zarr] fix: replace logo with official version
ChasNelson1990 Oct 9, 2024
81547ce
[ckanext-zarr] adds dataset to "resource type" group if an option is …
A-Souhei Oct 10, 2024
8f7f542
[ckanext-zarr] 195-on-wide-screens-the-dark-green-doesnt-cover-the-fu…
A-Souhei Oct 11, 2024
8a0684e
[ckanext-zarr] 192 - Make schema badges actually reflect groups (http…
A-Souhei Oct 11, 2024
fc8b2a1
[ckanext-zarr] fix:badge in dashboard dataset is not positioned in th…
A-Souhei Oct 11, 2024
27bcb77
[ckanext-zarr] draft can be deleted (https://github.com/fjelltopp/cka…
A-Souhei Oct 16, 2024
52e333a
[ckanext-zarr] 199 fix:rename zarr dataset_type to data (https://gith…
A-Souhei Oct 16, 2024
832e60b
[ckanext-zarr] 196 email addresses are case sensitive (https://github…
A-Souhei Oct 30, 2024
f4f91af
[ckanext-zarr] Increased z-index for ul.nav.nav-tabs so promoted vert…
A-Souhei Dec 10, 2024
f7d5d54
[ckanext-zarr] Some metadata fields are not responsive when viewing d…
A-Souhei Dec 10, 2024
9f0e20d
[ckanext-zarr] Added get package stats for google analytics in extens…
A-Souhei Jan 16, 2025
1fea152
[ckanext-zarr] fix: remove redundant tests that also include secrets …
ChasNelson1990 Jan 22, 2025
6455b68
[ckanext-zarr] chore: move all files into ckanext-zarr
cooper667 Jan 23, 2025
3ec6443
remove submodule
cooper667 Jan 23, 2025
b69e2b8
Merge remote-tracking branch 'ckanext-zarr/move_repo2' into merge_ext
cooper667 Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "ckan"]
path = ckan
url = [email protected]:ckan/ckan.git
[submodule "ckanext-zarr"]
path = ckanext-zarr
url = [email protected]:fjelltopp/ckanext-zarr.git
1 change: 0 additions & 1 deletion ckanext-zarr
Submodule ckanext-zarr deleted from 96726f
48 changes: 48 additions & 0 deletions ckanext-zarr/.github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
container:
# The CKAN version tag of the Solr and Postgres containers should match
# the one of the container the tests run on.
# You can switch this base image with a custom image tailored to your project
image: ckan/ckan-base:2.10.4
services:
solr:
image: ckan/ckan-solr:2.10-solr8
postgres:
image: ckan/ckan-postgres-dev:2.10
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
redis:
image: redis:3

env:
CKAN_SQLALCHEMY_URL: postgresql://ckan_default:pass@postgres/ckan_test
CKAN_DATASTORE_WRITE_URL: postgresql://datastore_write:pass@postgres/datastore_test
CKAN_DATASTORE_READ_URL: postgresql://datastore_read:pass@postgres/datastore_test
CKAN_SOLR_URL: http://solr:8983/solr/ckan
CKAN_REDIS_URL: redis://redis:6379/1

steps:
- uses: actions/checkout@v4
- name: Install requirements
# Install any extra requirements your extension has here (dev requirements, other extensions etc)
run: |
pip install -r requirements.txt
pip install -r dev-requirements.txt
pip install -e .
- name: Setup extension
# Extra initialization steps
run: |
# Replace default path to CKAN core config file with the one on the container
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini

ckan -c test.ini db init
- name: Run tests
run: pytest --ckan-ini=test.ini --cov=ckanext.zarr --disable-warnings ckanext/zarr

42 changes: 42 additions & 0 deletions ckanext-zarr/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.ropeproject
node_modules
bower_components

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
sdist/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml

# Sphinx documentation
docs/_build/
Loading