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

Community App Store (Fork) #69

Closed
wants to merge 1,359 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1359 commits
Select commit Hold shift + click to select a range
7698b83
refactor tab layout
Archmonger Jul 4, 2022
a47744f
licenses tab
Archmonger Jul 5, 2022
ec571ce
rename tab type
Archmonger Jul 5, 2022
c0a2e57
support CBV for default views
Archmonger Jul 5, 2022
066bdfd
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 5, 2022
e36b9de
DRY view rendering
Archmonger Jul 5, 2022
8de6fa3
add licenses to app template
Archmonger Jul 5, 2022
61a7b3d
Merge remote-tracking branch 'origin/develop' into app_store
Archmonger Jul 5, 2022
05ea83c
add todo
Archmonger Jul 6, 2022
8f73622
Semi-broken refactor to remove `websocket` parameter
Archmonger Jul 7, 2022
6322da1
add a couple of fields for system info
Archmonger Jul 7, 2022
fea6c25
use html table for server settings
Archmonger Jul 7, 2022
207c3bd
add lock button to manage invites
Archmonger Jul 8, 2022
7845343
backdrop prototype
Archmonger Jul 10, 2022
430a69d
minor load module bugfix
Archmonger Jul 11, 2022
82670e2
toggleable mobile sidebar
Archmonger Jul 11, 2022
f8cac37
temporary fix for use_websocket bug
Archmonger Jul 11, 2022
764892f
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 11, 2022
f2a9bdc
remove backdrops that are too dark
Archmonger Jul 11, 2022
4a34e52
go back to loading components
Archmonger Jul 29, 2022
b92e035
switch to uvicorn
Archmonger Jul 29, 2022
9632964
Increase text readability
Archmonger Jul 29, 2022
affbad7
split bg tasks app in backup/db
Archmonger Jul 31, 2022
136ac50
minor cleanup
Archmonger Jul 31, 2022
4cd36fa
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 1, 2022
623b3a2
'Refactored by Sourcery' (#184)
sourcery-ai[bot] Aug 1, 2022
d24218d
remove lifespan app
Archmonger Aug 1, 2022
42f01b9
improve backdrop brightness
Archmonger Aug 2, 2022
35dfd3a
bump dependencies
Archmonger Aug 11, 2022
24064c3
Merge remote-tracking branch 'origin/develop' into app_store
Archmonger Aug 11, 2022
27a02ff
fix set_env for environ
Archmonger Aug 11, 2022
e057254
_str_to_bool improvements
Archmonger Aug 11, 2022
b928614
type hint cleanup
Archmonger Aug 11, 2022
75d8889
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 11, 2022
56adc62
scaling huey workers
Archmonger Aug 12, 2022
8cfe3e9
set background type on viewport
Archmonger Aug 25, 2022
87f1237
clean up log messages
Archmonger Aug 25, 2022
e79c171
flesh out http URL registration
Archmonger Aug 25, 2022
55f3849
SensitiveFormatter
Archmonger Aug 25, 2022
466ecf2
docs reorganization
Archmonger Aug 26, 2022
ea490d5
set log level via GUI
Archmonger Aug 26, 2022
fc8e5a7
render_view support django 4.1 async CBV
Archmonger Aug 26, 2022
a4b3564
remove impossible todo
Archmonger Aug 26, 2022
d3d6038
add docs test
Archmonger Aug 26, 2022
c129a4e
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 26, 2022
66f231c
run docs test on develop branch
Archmonger Aug 26, 2022
a90aef3
fix yml syntax
Archmonger Aug 26, 2022
1d5aca3
fix mkdocs warnings
Archmonger Aug 26, 2022
4fdc1dd
logging_level
Archmonger Aug 26, 2022
eb6283e
more docs
Archmonger Aug 27, 2022
736ace0
delete logging initial if not needed
Archmonger Aug 27, 2022
9e5e9a0
clean up logging config
Archmonger Aug 27, 2022
35e420d
API refactoring
Archmonger Aug 27, 2022
3bbabd2
stubs, todos, cleanup
Archmonger Aug 31, 2022
41e8462
make package name unique
Archmonger Sep 3, 2022
117bfac
mypy support
Archmonger Sep 13, 2022
b2219cb
type hints
Archmonger Sep 19, 2022
2f7adab
more docs stubs
Archmonger Sep 19, 2022
2ee4b6c
put docs content into a box
Archmonger Sep 19, 2022
96f4ceb
django mypy type hints
Archmonger Sep 19, 2022
2dd0519
handle some mypy warnings
Archmonger Sep 20, 2022
a138e2f
disable mypy in vscode
Archmonger Sep 20, 2022
2364046
bump django idom
Archmonger Sep 20, 2022
ae192a3
fix use_websocket on sub components
Archmonger Sep 20, 2022
af88f7d
some django_idom view_to_component and auth_required
Archmonger Sep 22, 2022
4155439
remove double viewport in prepartion for idom router
Archmonger Sep 23, 2022
fef2f8a
bump requirements
Archmonger Sep 23, 2022
d6c9e52
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 23, 2022
8de8466
fake immutability in state objects
Archmonger Sep 23, 2022
0ade2bb
Merge branch 'app_store' of https://github.com/Archmonger/Conreq into…
Archmonger Sep 23, 2022
e1d95de
TabbedViewportState and ModalState set APIs
Archmonger Sep 23, 2022
d566d23
fix some type hints
Archmonger Sep 23, 2022
5909bdc
fix more random type hint issues
Archmonger Sep 23, 2022
365b3a4
fix more type hints
Archmonger Sep 23, 2022
062e602
todo and typehint cleanup
Archmonger Sep 25, 2022
979302d
streamline most API endpoints
Archmonger Oct 1, 2022
56d2a9b
cleanup
Archmonger Oct 2, 2022
013446a
fix edit and delete user views
Archmonger Oct 2, 2022
be7418d
minor styling cleanup on sys info and licenses
Archmonger Oct 2, 2022
2282a53
fix health check css
Archmonger Oct 2, 2022
7b5e6ae
flesh out component API
Archmonger Oct 3, 2022
889d17b
flesh out homepage API
Archmonger Oct 3, 2022
a3d526d
clean up types
Archmonger Oct 3, 2022
9d5793a
use all app declared homepage stuff
Archmonger Oct 3, 2022
e52799f
flesh out startup API
Archmonger Oct 4, 2022
b6d4be9
bump requirements
Archmonger Oct 4, 2022
b176e44
flesh out tabs API
Archmonger Oct 4, 2022
a0fccd3
Merge remote-tracking branch 'origin/develop' into app_store
Archmonger Oct 4, 2022
ae6ebea
flesh out view API
Archmonger Oct 4, 2022
cdcd34c
clean up websockets api
Archmonger Oct 5, 2022
144f768
makeshift modal implementation
Archmonger Oct 5, 2022
089439c
set initial email in sign up form
Archmonger Oct 5, 2022
6ac6b1c
CurrentUserOrAdminMixin lax `user-id` usage
Archmonger Oct 5, 2022
b4e234e
health check css matching
Archmonger Oct 5, 2022
cd43459
pylint django is broken
Archmonger Oct 6, 2022
747859d
rework email service
Archmonger Oct 6, 2022
ac6476b
todo for sign up views
Archmonger Oct 6, 2022
b348e73
invite creation GUI
Archmonger Oct 6, 2022
264134b
tweak app store subtab styling
Archmonger Oct 6, 2022
e37eda8
Iterable -> Sequence
Archmonger Oct 7, 2022
91eb0f0
use_query for the app store tab
Archmonger Oct 7, 2022
6aa6bbc
snazzy loading animation for app store
Archmonger Oct 7, 2022
f2b8871
remove set operators
Archmonger Oct 7, 2022
c96b276
APIView -> GenericAPIView
Archmonger Oct 9, 2022
89ab502
slide in animation for sidebar
Archmonger Oct 13, 2022
39fbe3c
Reorganize app store component
Archmonger Oct 13, 2022
7c604b7
fix lint issues
Archmonger Oct 13, 2022
b61ef9e
viewport fade in
Archmonger Oct 13, 2022
84fff06
fix docstring
Archmonger Oct 15, 2022
4e73bbe
bug fix sidebar_tab API
Archmonger Oct 15, 2022
69a3a99
fix adding tabs to predefined categories
Archmonger Oct 15, 2022
e111ceb
new ordered database model for spotlight apps
Archmonger Oct 15, 2022
d10b7b4
database backed app store rendering
Archmonger Oct 16, 2022
71512fe
actually use attributes from FileLink
Archmonger Oct 16, 2022
069b23c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 17, 2022
dcb9bfe
card rotation
Archmonger Oct 18, 2022
0fc74f5
use BS5 for forms and btns
Archmonger Oct 18, 2022
0d86070
bump bootstrap version
Archmonger Oct 18, 2022
cd71d76
better card aesthetics
Archmonger Oct 19, 2022
de42f54
django-idom 2.0.1 compatibility
Archmonger Oct 19, 2022
ffd3601
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Oct 19, 2022
63b28b1
selector cleanup
Archmonger Nov 12, 2022
15e9793
remove unused onclick
Archmonger Nov 12, 2022
2cd3a23
add copilot, remove deprecated vscode extension
Archmonger Nov 12, 2022
9b1f224
bump django idom
Archmonger Nov 12, 2022
af91860
merge branch
Archmonger Nov 12, 2022
0ab3fbc
bump requirements
Archmonger Nov 12, 2022
49af373
subcategory for cards
Archmonger Dec 1, 2022
1d6e870
remove dead BS modal code
Archmonger Dec 1, 2022
f122e6a
SetState types
Archmonger Dec 1, 2022
d64b3ba
use_context for most state calls
Archmonger Dec 1, 2022
3347c07
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 1, 2022
ee6e45c
ignore all venvs
Archmonger Dec 2, 2022
520e02d
bump uvicorn
Archmonger Dec 2, 2022
f341265
misc cleanup
Archmonger Dec 4, 2022
38424e3
simplified set state
Archmonger Dec 5, 2022
4f147fc
IDOM type hints
Archmonger Dec 5, 2022
70210db
remove final comma
Archmonger Dec 5, 2022
7176d35
use mypy for type hints
Archmonger Dec 6, 2022
7450e43
remove unused variable
Archmonger Dec 7, 2022
b6c20a9
spaces to dashes for backdrop filenames
Archmonger Dec 7, 2022
fe49bff
idom component return types
Archmonger Dec 7, 2022
f60e54f
model name changes
Archmonger Dec 7, 2022
139087c
remove unneeded + operator
Archmonger Dec 7, 2022
cf0fd87
bump django
Archmonger Dec 7, 2022
262d620
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 7, 2022
149a286
'Refactored by Sourcery' (#207)
sourcery-ai[bot] Dec 7, 2022
b27851e
fix broken sidebars
Archmonger Dec 7, 2022
ba1af61
Merge branch 'app_store' of https://github.com/Archmonger/Conreq into…
Archmonger Dec 7, 2022
9529fd0
util cleanup
Archmonger Dec 7, 2022
8d9d7bd
add mass edit app
Archmonger Dec 8, 2022
a48ab3a
simplify OS multichoice
Archmonger Dec 28, 2022
4451219
app installable check
Archmonger Dec 29, 2022
9e8fb65
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Dec 30, 2022
6d6930d
handle scenario of no apps existing
Archmonger Dec 30, 2022
bb26da4
simplified app store category fetching
Archmonger Dec 30, 2022
ebfa0fb
remove app store page animations
Archmonger Dec 30, 2022
7e2ecf3
contact links
Archmonger Dec 30, 2022
207a441
bugfix some install checks
Archmonger Dec 30, 2022
f04306a
category ordering
Archmonger Dec 30, 2022
d136866
Remove unneeded state toggle
Archmonger Dec 30, 2022
f21ea6e
Broken sub-context for app store
Archmonger Dec 30, 2022
3d10c7f
prevent sourcery refactoring app_store
Archmonger Dec 30, 2022
c417234
faster spotlight loading
Archmonger Jan 1, 2023
06b18e6
refactor card rendering
Archmonger Jan 1, 2023
27fde7a
render app logo
Archmonger Jan 1, 2023
2289fd6
Revert "remove app store page animations"
Archmonger Jan 1, 2023
4ca8a85
reworked modal rendering
Archmonger Jan 2, 2023
d8ba045
refactor ModalState to prepare for react-bootstrap support
Archmonger Jan 2, 2023
d7d0ac6
reset modal action
Archmonger Jan 2, 2023
fb897d8
allow for viewport args
Archmonger Jan 2, 2023
b00564a
half-baked app store modals
Archmonger Jan 2, 2023
fdcf3ca
load conreq debug before app_store
Archmonger Jan 2, 2023
6b0d902
use fixed django versionfield
Archmonger Jan 2, 2023
2dab7a9
temporarly early use of django idom 2.2.1
Archmonger Jan 2, 2023
3ec011d
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 2, 2023
815d83b
Make author optional
Archmonger Jan 2, 2023
1d4e7d6
refactor app store spotlight
Archmonger Jan 2, 2023
79537b8
app store carousel to collapse
Archmonger Jan 2, 2023
2a6c517
show more via css classes
Archmonger Jan 3, 2023
8ac0eec
bump django
Archmonger Jan 3, 2023
f89756e
add type stub monkeypatches
Archmonger Jan 19, 2023
f010931
use cached_db SESSION_ENGINE
Archmonger Jan 19, 2023
b9c1739
form cleaning
Archmonger Jan 19, 2023
16b8798
clearsessions periodic task
Archmonger Jan 19, 2023
5cbe956
django_idom=2.2.1
Archmonger Jan 19, 2023
eceb249
bump requirements
Archmonger Jan 19, 2023
c6184ed
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jan 19, 2023
ebf6d88
load order fixes
Archmonger Jan 20, 2023
9afeec3
test django-idom 3.0.0
Archmonger Jan 20, 2023
b6e117d
use sequence instead of iterable
Archmonger Jan 20, 2023
9c6e80d
ModalState
Archmonger Jan 21, 2023
ffebae1
minor css changes
Archmonger Jan 25, 2023
d674131
django-idom 3.0.0a2
Archmonger Feb 3, 2023
6b04693
bump versionfield
Archmonger Feb 4, 2023
28918f9
clean up type hints
Archmonger Feb 5, 2023
eda9670
Revert "django-idom 3.0.0a2"
Archmonger Feb 9, 2023
d8d7b5d
black formatting
Archmonger Feb 9, 2023
56e5abd
bump pre-commit
Archmonger Feb 12, 2023
d3740f4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 12, 2023
494b7f8
Bump targeted python versions
Archmonger Feb 23, 2023
e5728ce
run IDOM rewrite scripts
Archmonger Feb 23, 2023
e133ee1
manual IDOM fixes
Archmonger Feb 23, 2023
aaeae58
fix type hint
Archmonger Feb 23, 2023
696f52e
bump idom
Archmonger Mar 10, 2023
ca4b7d1
Test out new OrderedManyToManyField
Archmonger Apr 16, 2023
0f2066e
idom -> reactpy
Archmonger Apr 16, 2023
63a6d40
bump requirements
Archmonger Apr 16, 2023
81ccceb
add reactpy-flake8
Archmonger Apr 30, 2023
a05dc27
installation modal, minus functioning install button
Archmonger May 2, 2023
12a797a
functional installation workflow
Archmonger May 3, 2023
8ce4db3
better app install workflow
Archmonger May 4, 2023
4d10a89
prevent duplicate installs
Archmonger May 4, 2023
5632905
allow user declared apps
Archmonger May 4, 2023
6175d35
remove unused setting
Archmonger May 4, 2023
3ce8e09
multi-database routing
Archmonger May 4, 2023
62f10fe
functioning nav categories
Archmonger May 5, 2023
e18e2bc
reorganize CSS
Archmonger May 5, 2023
35cab26
Manage apps menu without action buttons
Archmonger May 6, 2023
929e8c9
robust error handling for app manager
Archmonger May 6, 2023
566237a
Add pypi package name
Archmonger May 6, 2023
e16cd5e
fix broken page loading
Archmonger May 6, 2023
55fce77
more error handling
Archmonger May 7, 2023
0def46a
misc cleanup
Archmonger May 8, 2023
2270f70
don't rely on bootstrap for modal animations
Archmonger May 11, 2023
6838cf9
install all packages to the main env
Archmonger May 11, 2023
2023165
Use venv for dev packages too
Archmonger May 27, 2023
994e5df
bump requirements
Archmonger May 27, 2023
cc5ba35
app store manage action btn skeleton
Archmonger May 27, 2023
273b9e1
functional disable button
Archmonger May 27, 2023
f2e826b
disable thread sensitivity
Archmonger May 28, 2023
43d7668
remove startup imports from settings.py
Archmonger May 28, 2023
4e5a480
remove johnny dep
Archmonger May 29, 2023
d590c88
misc huey cleanup
Archmonger May 29, 2023
58eac14
better missing pkg msg
Archmonger May 29, 2023
acf2a20
fix duplicate logs
Archmonger Jun 4, 2023
dd392fc
better safe mode implementation
Archmonger Jun 4, 2023
cbf6fa8
print cleanup
Archmonger Jun 4, 2023
6ca3ac2
fix sign out
Archmonger Jun 4, 2023
8d872a0
change project config
Archmonger Aug 19, 2023
653d0cd
bump reactpy
Archmonger Aug 19, 2023
3b38093
refactor app store model
Archmonger Dec 29, 2023
c04a002
Admin interface and model prop cleanup
Archmonger Dec 29, 2023
0e7433a
add todo
Archmonger Jan 1, 2024
7381a83
namespace all of Conreq's internal URLs
Archmonger Jan 1, 2024
bcd9232
fix huey logging
Archmonger Jan 10, 2024
fc2e6d2
reactpy_django v3.6: view_to_iframe
Archmonger Jan 10, 2024
c765332
reactpy_django v3.6: user_passes_test
Archmonger Jan 10, 2024
28fb78b
reactpy_django v3.6: iframe kwargs
Archmonger Jan 10, 2024
ac31f0b
Remove references to QueryOptions
Archmonger Jan 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
ignore = E501, E203, W503
exclude = conreq/templates/*
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# These are supported funding model platforms

github: [Archmonger] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Bug Report
description: Report a bug with Conreq software.
labels: [Bug]
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
blank_issues_enabled: false
contact_links:
- name: Feature Request
Expand Down
9 changes: 5 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
version: 2
updates:
- package-ecosystem: "pip"
directory: "/requirements/"
- package-ecosystem: pip
directory: /requirements/
schedule:
interval: "daily"
target-branch: "develop"
interval: daily
target-branch: develop
open-pull-requests-limit: 20
7 changes: 4 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
Expand All @@ -10,7 +11,7 @@
# supported CodeQL languages.
# ******** NOTE ********

name: "CodeQL"
name: CodeQL

on:
push:
Expand All @@ -19,7 +20,7 @@ on:
# The branches below must be a subset of the branches above
branches: [main, develop]
schedule:
- cron: "34 16 * * 3"
- cron: 34 16 * * 3

jobs:
analyze:
Expand All @@ -29,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ["javascript", "python"]
language: [javascript, python]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Django Tests

on:
Expand All @@ -12,12 +13,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.9]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: Test

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
schedule:
- cron: "0 0 * * *"

jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install -r requirements/docs.txt
- run: mkdocs build --verbose
16 changes: 7 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,11 @@ celerybeat-schedule.*
*.sage.py

# Environments
.env/
.venv/
env/
venv/
ENV/
env.bak/
venv.bak/
.env*/
.venv*/
env*/
venv*/
ENV*/

# mypy
.mypy_cache/
Expand All @@ -111,11 +109,11 @@ Control.system-ca-bundle
GitHub.sublime-settings

# Visual Studio Code #
.vscode/*
.vscode/*/
!.vscode/settings.json
!.vscode/extensions.json
.history/
%SystemDrive%

# Mac file system
.DS_Store/
.DS_Store/
79 changes: 78 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
---
repos:
- repo: https://github.com/hadialqattan/pycln
rev: "v2.1.3"
hooks:
- id: pycln
args: [--all]
- repo: https://github.com/asottile/yesqa
rev: "v1.4.0"
hooks:
- id: yesqa
- repo: https://github.com/pycqa/isort
rev: "5.12.0"
hooks:
- id: isort
args: [--profile, black]
- repo: https://github.com/psf/black
rev: "23.1.0"
hooks:
- id: black
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.3.0"
rev: "v4.4.0"
hooks:
- id: check-merge-conflict
- id: end-of-file-fixer
exclude: >-
^docs/[^/]*\.svg$


- id: requirements-txt-fixer
- id: trailing-whitespace
types: [python]
- id: file-contents-sorter
files: |
CONTRIBUTORS.txt|
docs/spelling_wordlist.txt|
.gitignore|
.gitattributes
- id: check-case-conflict
- id: check-json
- id: check-xml
- id: check-toml
- id: check-xml
- id: debug-statements
- id: check-added-large-files
- id: check-symlinks
- id: debug-statements
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
exclude: ^examples|(?:tests/ssl)/
- repo: https://github.com/asottile/pyupgrade
rev: "v3.3.1"
hooks:
- id: pyupgrade
args: [--py310-plus]
- repo: https://github.com/PyCQA/flake8
rev: "6.0.0"
hooks:
- id: flake8
- repo: https://github.com/Lucas-C/pre-commit-hooks-markup
rev: "v1.0.1"
hooks:
- id: rst-linter
files: >-
^[^/]+[.]rst$


- repo: https://github.com/adrienverge/yamllint
rev: "v1.29.0"
hooks:
- id: yamllint
- repo: https://github.com/thibaudcolas/curlylint
rev: "v0.13.1"
hooks:
- id: curlylint
args: ["conreq/"]
- repo: https://github.com/adamchainz/django-upgrade
rev: "1.12.0"
hooks:
- id: django-upgrade
args: [--target-version, "4.1"]
8 changes: 4 additions & 4 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[MASTER]
ignore=migrations
disable=broad-except, fixme
load-plugins=pylint_django
django-settings-module=conreq.settings
disable=broad-except, fixme, missing-module-docstring, missing-class-docstring, missing-function-docstring
[FORMAT]
max-line-length=150
max-line-length=150
[TYPECHECK]
generated-members=REQUEST,acl_users,aq_parent,objects,_meta,id
2 changes: 2 additions & 0 deletions .sourcery.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
refactor:
skip: [use-named-expression]
8 changes: 5 additions & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"irongeek.vscode-env",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"knisterpeter.vscode-github",
"wholroyd.jinja",
"esbenp.prettier-vscode",
"ms-python.vscode-pylance",
"ms-python.python",
"mrmlnc.vscode-autoprefixer",
"gruntfuggly.todo-tree"
"gruntfuggly.todo-tree",
"sourcery.sourcery",
"njpwerner.autodocstring",
"github.copilot"
]
}
}
28 changes: 18 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,27 @@
{
"editor.detectIndentation": false,
"editor.formatOnSave": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintUseMinimalCheckers": false,
"python.linting.pylintArgs": [],
"python.languageServer": "Pylance",
"python.analysis.typeCheckingMode": "off",
"python.formatting.provider": "black",
"python.sortImports.args": [
"--src=${workspaceFolder}"
"python.languageServer": "Pylance",
"python.analysis.extraPaths": [
"data/packages/__installed__",
"data/packages/develop"
],
"todo-tree.filtering.excludeGlobs": [
"**/node_modules",
".venv",
"docs"
],
"terminal.integrated.scrollback": 20000,
"terminal.integrated.scrollback": 10000,
"git.autofetch": true,
"prettier.tabWidth": 4,
"prettier.useTabs": true,
"prettier.endOfLine": "auto",
"prettier.proseWrap": "never",
"autoprefixer.formatOnSave": true,
"files.associations": {
"**/requirements/*.txt": "pip-requirements",
"*.py-tpl": "python"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
Expand All @@ -32,6 +36,10 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[python]": {
"editor.defaultFormatter": "ms-python.python"
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
}
"files.insertFinalNewline": true
}
6 changes: 6 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
extends: default

rules:
line-length: disable
comments: disable
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Changelog

All notable changes to this project will be documented in this file.

<!-- attr -->

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- attr-end -->

<!--
Using the following categories, list your changes in this order:
- "Added" for new features.
- "Changed" for changes in existing functionality.
- "Deprecated" for soon-to-be removed features.
- "Removed" for now removed features.
- "Fixed" for any bug fixes.
- "Security" in case of vulnerabilities.
-->

<!-- changelog -->

## [Unreleased]

- Nothing (Yet)

## [0.100.0] - 2021-08-18

### Added

- App store support

[unreleased]: https://github.com/Archmonger/Conreq/compare/0.100.0...HEAD
[0.100.0]: https://github.com/Archmonger/Conreq/releases/tag/0.100.0

<!-- changelog-end -->
Loading