Skip to content

Commit 6a9b1ae

Browse files
committed
merging staging into feature branch to fix GameSystem endpoint name
2 parents 4189b84 + 0b151c9 commit 6a9b1ae

File tree

334 files changed

+341849
-42748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

334 files changed

+341849
-42748
lines changed

.github/workflows/pr_validation.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ jobs:
2727
pipenv run python manage.py runserver 0.0.0.0:8000 &
2828
sleep 5 &&
2929
pipenv run pytest
30+
- name: Validate Data
31+
run: |
32+
pipenv run python ./scripts/data_test.py --dir ./data/v2
3033
build:
3134
runs-on: ubuntu-latest
3235
steps:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ it with the content you add.
7979
create a new one.
8080
- `Publisher`: The publisher of the source. Select one of the available publishers. If the publisher is not available,
8181
create a new one.
82-
- `Ruleset`: The ruleset the source is associated with. Select one of the available rulesets. If the ruleset is not available,
82+
- `GameSystem`: The gamesystem the source is associated with. Select one of the available gamesystems. If the gamesystem is not available,
8383
create a new one.
8484
- `Author`: The author of the source. This can be a single author or a list of authors. List them in the format `Author 1, Author 2, Author 3`.
8585
- `Published at`: The Date and Time the source was published. Select the date it was published on. The time can be set to 00:00:00.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ RUN pipenv run python manage.py quicksetup
1717
RUN rm .env
1818

1919
#run gunicorn.
20-
CMD ["pipenv", "run", "gunicorn","-b", ":8888", "server.wsgi:application"]
20+
CMD ["pipenv", "run", "gunicorn","-b", ":8888", "server.wsgi:application"]

Pipfile

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,20 @@ verify_ssl = true
44
name = "pypi"
55

66
[packages]
7-
django = "3"
7+
django = "5.*"
88
djangorestframework = "*"
99
django-filter = "*"
1010
django-cors-headers = "*"
11-
django-haystack = "*"
12-
drf-haystack = "*"
13-
gunicorn = "*"
14-
jsonfield = "*"
15-
markdown = "*"
16-
"markdown2" = "*"
17-
pylint = "*"
18-
python-decouple = "*"
19-
setuptools = "*"
20-
whitenoise = "*"
21-
whoosh = "*"
22-
pyyaml = "*"
23-
uritemplate = "*"
2411
newrelic = "*"
25-
approvaltests = "*"
26-
pytest-approvaltests = "*"
2712
requests = "*"
28-
chardet = "*"
13+
whitenoise = "*"
14+
gunicorn = "*"
2915

3016
[dev-packages]
3117
pytest = "*"
3218
pytest-django = "*"
19+
approvaltests = "*"
20+
pytest-approvaltests = "*"
3321

3422
[requires]
3523
python_version = "3.11"

Pipfile.lock

Lines changed: 331 additions & 522 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<p align="center">
55
<a href="https://open5e.com">https://open5e.com</a>
66
<br/>
7-
A JSON API for the D&D 5e ruleset
7+
A JSON API for the D&D 5e gamesystem
88
</p>
99
</p>
1010
<br />

api/management/commands/quicksetup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ def collect_static() -> None:
8888
def build_haystack_index() -> None:
8989
"""Freshen the haystack search indexes. This is an internal haystack
9090
API that is being called, and only applies to v1 data."""
91+
print("THIS ENTIRE COMMAND HAS BEEN DEPRECATED! EXPECT ERRORS.")
9192
call_command('update_index', '--remove')
9293

9394
def build_v1v2_searchindex() -> None:

api/migrations/0001_initial.py

Lines changed: 248 additions & 213 deletions
Large diffs are not rendered by default.

api/migrations/0002_document_copyright.py

Lines changed: 0 additions & 18 deletions
This file was deleted.

api/migrations/0003_armor.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)