forked from ome/omero-gallery
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into complex_queries
- Loading branch information
Showing
10 changed files
with
67 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ jobs: | |
ref: ${{ github.event.pull_request.head.sha }} | ||
# This is important to fetch the changes to the previous commit | ||
fetch-depth: 0 | ||
- name: Prettify code | ||
uses: creyD/[email protected] | ||
with: | ||
dry: true | ||
# This part is also where you can pass other options, for example: | ||
prettier_options: --write **/*.js --check | ||
# only_changed: True | ||
#- name: Prettify code | ||
# uses: creyD/[email protected] | ||
# with: | ||
# dry: true | ||
# # This part is also where you can pass other options, for example: | ||
# prettier_options: --write **/*.js --check | ||
# # only_changed: True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,27 @@ | ||
from django.conf.urls import url | ||
from django.urls import re_path | ||
from .gallery_settings import SUPER_CATEGORIES | ||
|
||
from . import views | ||
|
||
urlpatterns = [ | ||
# index 'home page' of the idr_gallery app | ||
url(r'^$', views.index, name='idr_gallery_index'), | ||
re_path(r'^$', views.index, name='idr_gallery_index'), | ||
|
||
# All settings as JSON | ||
url(r'^gallery_settings/$', views.gallery_settings), | ||
re_path(r'^gallery_settings/$', views.gallery_settings), | ||
|
||
# Search page shows Projects / Screens filtered by Map Annotation | ||
url(r'^search/$', views.index, {'super_category': None}, | ||
name="idr_gallery_search"), | ||
re_path(r'^search/$', views.index, {'super_category': None}, | ||
name="idr_gallery_search"), | ||
|
||
# Supports e.g. ?project=1&project=2&screen=3 | ||
url(r'^gallery-api/thumbnails/$', views.api_thumbnails, | ||
name='idr_gallery_api_thumbnails'), | ||
re_path(r'^gallery-api/thumbnails/$', views.api_thumbnails, | ||
name='idr_gallery_api_thumbnails'), | ||
] | ||
|
||
for c in SUPER_CATEGORIES: | ||
urlpatterns.append(url(r'^%s/$' % c, views.index, {'super_category': c}, | ||
name="gallery_super_category")) | ||
urlpatterns.append(url(r'^%s/search/$' % c, views.index, | ||
{'super_category': c})) | ||
urlpatterns.append(re_path(r'^%s/$' % c, views.index, | ||
{'super_category': c}, | ||
name="gallery_super_category")) | ||
urlpatterns.append(re_path(r'^%s/search/$' % c, views.index, | ||
{'super_category': c})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
|
||
# This can be loaded via the app. | ||
# It will be updated by bumpversion | ||
VERSION = '3.10.1.dev0' | ||
VERSION = '3.11.1.dev0' |