-
Notifications
You must be signed in to change notification settings - Fork 583
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update views.py fix 404 error for thumbnail. * feat: Added actions for pypi release automation * Fix typo * Remove duplication of flake8 and isort configs so it's just in setup.cfg * FEATURE: switch to furo theme & add functionality to run the docs locally * TASK: update .gitignore * BUGFIX: fix docs workflow * TASK: Add images & update .gitignore file * Bump to version 2.2 * Squashed commit of the following: commit ec886f1 Author: Safa Ariman <safaariman@gmail.com> Date: Sun Dec 19 14:24:05 2021 +0300 Fix upload invalid SVG file * add all fixes to Changelog * remove legacy code * add extra test to increase coverage * Update CHANGELOG.rst * prepare for Django-4.0 # Conflicts: # filer/models/foldermodels.py * request.is_ajax has been removed from Django-4 * prepare for Django-4 * fix isort complain * Experimental support for Django-4 * remove double requirement * remove double requirement * fix: add missing comma * add migration required for Django-4 * fix isort complain Co-authored-by: vicalloy <zbirder@gmail.com> Co-authored-by: Mark Walker <mark.walker@realbuzz.com> Co-authored-by: Simon Krull <krull@punkt.de> Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at>
- Loading branch information
1 parent
9400ff7
commit ee1a72e
Showing
38 changed files
with
487 additions
and
98 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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Publish Python 🐍 distributions 📦 to pypi | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish Python 🐍 distributions 📦 to pypi | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install pypa/build | ||
run: >- | ||
python -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: >- | ||
python -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
. | ||
- name: Publish distribution 📦 to PyPI | ||
if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Publish Python 🐍 distributions 📦 to TestPyPI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish Python 🐍 distributions 📦 to TestPyPI | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Install pypa/build | ||
run: >- | ||
python -m | ||
pip install | ||
build | ||
--user | ||
- name: Build a binary wheel and a source tarball | ||
run: >- | ||
python -m | ||
build | ||
--sdist | ||
--wheel | ||
--outdir dist/ | ||
. | ||
- name: Publish distribution 📦 to Test PyPI | ||
uses: pypa/gh-action-pypi-publish@master | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.TEST_PYPI_API_TOKEN }} | ||
repository_url: https://test.pypi.org/legacy/ | ||
skip_existing: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
========================= | ||
Django Filer Documentation | ||
========================= | ||
|
||
Run the documentation locally | ||
----------------------------- | ||
|
||
Install the Enchant libary | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
You will need to install the | ||
`enchant <https://www.abisource.com/projects/enchant/>`__ library that | ||
is used by ``pyenchant`` for spelling. | ||
|
||
macOS: | ||
^^^^^^ | ||
|
||
.. code:: bash | ||
brew install enchant | ||
After that: | ||
|
||
Fork & Clone the repository: | ||
^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code:: bash | ||
git@github.com:your-github-username/django-filer.git | ||
Switch to the django-filer/docs directory: | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code:: bash | ||
cd django-filer/docs | ||
Install the dependencies: | ||
^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code:: bash | ||
make install | ||
This command creates a virtual environment and installs the required | ||
dependencies there. | ||
|
||
Start the development server: | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code:: bash | ||
make run | ||
Open the local docs instance in your browser: | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
.. code:: bash | ||
open http://0.0.0.0:8001/ | ||
The documentation uses livereload. This means, that every time something | ||
is changed, the documentation will automatically reload in your | ||
browser. | ||
|
||
Contribute | ||
---------- | ||
|
||
If you find anything that could be improved or changed in your opinion, | ||
feel free to create a pull request. |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
Oops, something went wrong.