punkweb-bb 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/PKG-INFO +1 -1
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- punkweb_bb-0.2.1/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/urls.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- punkweb_bb-0.2.1/punkweb_bb/migrations/0003_alter_thread_options.py +23 -0
- punkweb_bb-0.2.1/punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/models.py +4 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/settings.py +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/index.css +2 -2
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/punkweb.css +95 -4
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/thread.css +1 -1
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js +1 -1
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/base.html +6 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/index.html +35 -20
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/login.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/members.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/profile.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/settings.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html +7 -3
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/signup.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/subcategory.html +14 -4
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/thread.html +71 -19
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/thread_create.html +1 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/urls.py +2 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/views.py +26 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/PKG-INFO +1 -1
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/SOURCES.txt +2 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/setup.py +1 -1
- punkweb_bb-0.2.0/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/LICENSE +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/MANIFEST.in +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/README.md +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__init__.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/admin.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/apps.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/context_processors.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/forms.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/guests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/mixins.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/pagination.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/response.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/signals.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/admin.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/admin_forms.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/apps.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/bbcode_tags.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/context_processors.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/forms.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/guests.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/middleware.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/0001_initial.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/0002_thread_view_count.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/__init__.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/mixins.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/pagination.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/parsers.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/response.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/signals.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/category-form.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/defaults.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/login.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/members.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/post-form.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/profile.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/punkweb-modal.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/settings.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/shoutbox.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/subcategory-form.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/subcategory.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/thread-form.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/typography.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/css/variables.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/favicon.ico +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/img/default-profile-image.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/js/punkweb-modal.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/js/shoutbox.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/htmx-1.9.4.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/jquery-3.7.0.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/open-color.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/prism.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/prism.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/README.md +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/material.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/monocons.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.bbcode.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.xhtml.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/format.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/undo.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/sceditor.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/content/default.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/default.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/defaultdark.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/modern.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office-toolbar.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/square.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/alien.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angel.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angry.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blink.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blush.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cheerful.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cool.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/credits.txt +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cwy.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/devil.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/dizzy.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ermm.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/face.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/getlost.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/grin.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/happy.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/heart.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/kissing.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/laughing.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ninja.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pinch.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pouty.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sad.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/shocked.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sick.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sideways.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/silly.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sleeping.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/smile.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/tongue.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/unsure.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/w00t.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wassat.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/whistling.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wink.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wub.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/example.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ar.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ca.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cn.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cs.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/de.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/el.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en-US.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/es.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/et.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fa.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fi.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fr.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/gl.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/hu.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/id.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/it.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ja.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/lt.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nb.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nl.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pl.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt-BR.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ru.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sk.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sv.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/template.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tr.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tw.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/uk.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/vi.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/material.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/monocons.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.bbcode.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.xhtml.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/format.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/undo.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/sceditor.min.js +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/default.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/defaultdark.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/modern.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolbar.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/base_modal.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/bbcode.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/category_create.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/category_update.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/category_delete.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/post_delete.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/post_update.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/subcategory_create.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/subcategory_update.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/thread_update.html +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__init__.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/can_delete.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/can_edit.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/can_post.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/can_delete.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/can_edit.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/can_post.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/humanize_int.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templatetags/shoutbox_bbcode.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/tests.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/utils.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/widgets.py +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/dependency_links.txt +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/not-zip-safe +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/requires.txt +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb.egg-info/top_level.txt +0 -0
- {punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/setup.cfg +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Generated by Django 4.2.11 on 2024-05-29 01:03
|
|
2
|
+
|
|
3
|
+
from django.db import migrations
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Migration(migrations.Migration):
|
|
7
|
+
|
|
8
|
+
dependencies = [
|
|
9
|
+
("punkweb_bb", "0002_thread_view_count"),
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
operations = [
|
|
13
|
+
migrations.AlterModelOptions(
|
|
14
|
+
name="thread",
|
|
15
|
+
options={
|
|
16
|
+
"ordering": ("subcategory", "-is_pinned", "-last_post_created_at"),
|
|
17
|
+
"permissions": (
|
|
18
|
+
("pin_thread", "Can pin thread"),
|
|
19
|
+
("close_thread", "Can close thread"),
|
|
20
|
+
),
|
|
21
|
+
},
|
|
22
|
+
),
|
|
23
|
+
]
|
|
Binary file
|
|
@@ -119,6 +119,10 @@ class Thread(UUIDPrimaryKeyMixin, TimestampMixin):
|
|
|
119
119
|
"-is_pinned",
|
|
120
120
|
"-last_post_created_at",
|
|
121
121
|
)
|
|
122
|
+
permissions = (
|
|
123
|
+
("pin_thread", "Can pin thread"),
|
|
124
|
+
("close_thread", "Can close thread"),
|
|
125
|
+
)
|
|
122
126
|
|
|
123
127
|
def __str__(self):
|
|
124
128
|
return f"{self.title}"
|
|
@@ -5,6 +5,7 @@ PUNKWEB_BB = getattr(settings, "PUNKWEB_BB", {})
|
|
|
5
5
|
SITE_NAME = PUNKWEB_BB.get("SITE_NAME", "PUNKWEB")
|
|
6
6
|
SITE_TITLE = PUNKWEB_BB.get("SITE_TITLE", "PunkwebBB")
|
|
7
7
|
FAVICON = PUNKWEB_BB.get("FAVICON", "punkweb_bb/favicon.ico")
|
|
8
|
+
OG_IMAGE = PUNKWEB_BB.get("OG_IMAGE", None)
|
|
8
9
|
SHOUTBOX_ENABLED = PUNKWEB_BB.get("SHOUTBOX_ENABLED", True)
|
|
9
10
|
DISCORD_WIDGET_ENABLED = PUNKWEB_BB.get("DISCORD_WIDGET_ENABLED", False)
|
|
10
11
|
DISCORD_WIDGET_THEME = PUNKWEB_BB.get("DISCORD_WIDGET_THEME", "dark")
|
|
@@ -390,12 +390,13 @@ blockquote cite {
|
|
|
390
390
|
/** Icon Button **/
|
|
391
391
|
|
|
392
392
|
.pw-icon-button {
|
|
393
|
+
align-items: center;
|
|
393
394
|
border-radius: 0.25rem;
|
|
394
395
|
cursor: pointer;
|
|
395
|
-
display:
|
|
396
|
+
display: flex;
|
|
397
|
+
justify-content: center;
|
|
396
398
|
font-weight: 500;
|
|
397
399
|
transition: all 0.15s ease;
|
|
398
|
-
text-align: center;
|
|
399
400
|
|
|
400
401
|
height: 2rem;
|
|
401
402
|
line-height: 2rem;
|
|
@@ -463,7 +464,7 @@ blockquote cite {
|
|
|
463
464
|
width: 3rem;
|
|
464
465
|
}
|
|
465
466
|
|
|
466
|
-
.pw-icon-button.
|
|
467
|
+
.pw-icon-button.xl .material-symbols-outlined {
|
|
467
468
|
font-size: 1.5rem;
|
|
468
469
|
}
|
|
469
470
|
|
|
@@ -492,6 +493,30 @@ blockquote cite {
|
|
|
492
493
|
background-color: var(--oc-gray-1);
|
|
493
494
|
}
|
|
494
495
|
|
|
496
|
+
.pw-icon-button.default.primary {
|
|
497
|
+
color: var(--primary-9);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.pw-icon-button.default.primary:hover {
|
|
501
|
+
background-color: var(--primary-0);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.pw-icon-button.default.primary:active {
|
|
505
|
+
background-color: var(--primary-1);
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.pw-icon-button.default.danger {
|
|
509
|
+
color: var(--oc-red-9);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.pw-icon-button.default.danger:hover {
|
|
513
|
+
background-color: var(--oc-red-0);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.pw-icon-button.default.danger:active {
|
|
517
|
+
background-color: var(--oc-red-1);
|
|
518
|
+
}
|
|
519
|
+
|
|
495
520
|
/* Outlined */
|
|
496
521
|
|
|
497
522
|
.pw-icon-button.outlined {
|
|
@@ -507,7 +532,33 @@ blockquote cite {
|
|
|
507
532
|
background-color: var(--oc-gray-1);
|
|
508
533
|
}
|
|
509
534
|
|
|
510
|
-
|
|
535
|
+
.pw-icon-button.outlined.primary {
|
|
536
|
+
border-color: var(--primary-9);
|
|
537
|
+
color: var(--primary-9);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.pw-icon-button.outlined.primary:hover {
|
|
541
|
+
background-color: var(--primary-0);
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.pw-icon-button.outlined.primary:active {
|
|
545
|
+
background-color: var(--primary-1);
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.pw-icon-button.outlined.danger {
|
|
549
|
+
border-color: var(--oc-red-9);
|
|
550
|
+
color: var(--oc-red-9);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.pw-icon-button.outlined.danger:hover {
|
|
554
|
+
background-color: var(--oc-red-0);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.pw-icon-button.outlined.danger:active {
|
|
558
|
+
background-color: var(--oc-red-1);
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/* Ghost */
|
|
511
562
|
|
|
512
563
|
.pw-icon-button.ghost {
|
|
513
564
|
border: 1px solid var(--oc-gray-9);
|
|
@@ -525,6 +576,38 @@ blockquote cite {
|
|
|
525
576
|
color: white;
|
|
526
577
|
}
|
|
527
578
|
|
|
579
|
+
.pw-icon-button.ghost.primary {
|
|
580
|
+
border: 1px solid var(--primary-9);
|
|
581
|
+
color: var(--primary-9);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.pw-icon-button.ghost.primary:not(:disabled):hover {
|
|
585
|
+
background-color: var(--primary-9);
|
|
586
|
+
color: white;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.pw-icon-button.ghost.primary:not(:disabled):active {
|
|
590
|
+
background-color: var(--primary-9);
|
|
591
|
+
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.25);
|
|
592
|
+
color: white;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.pw-icon-button.ghost.danger {
|
|
596
|
+
border: 1px solid var(--oc-red-9);
|
|
597
|
+
color: var(--oc-red-9);
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.pw-icon-button.ghost.danger:not(:disabled):hover {
|
|
601
|
+
background-color: var(--oc-red-9);
|
|
602
|
+
color: white;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.pw-icon-button.ghost.danger:not(:disabled):active {
|
|
606
|
+
background-color: var(--oc-red-9);
|
|
607
|
+
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.25);
|
|
608
|
+
color: white;
|
|
609
|
+
}
|
|
610
|
+
|
|
528
611
|
/* Raised */
|
|
529
612
|
|
|
530
613
|
.pw-icon-button.raised {
|
|
@@ -533,6 +616,14 @@ blockquote cite {
|
|
|
533
616
|
color: white;
|
|
534
617
|
}
|
|
535
618
|
|
|
619
|
+
.pw-icon-button.raised.primary {
|
|
620
|
+
background-color: var(--primary-9);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
.pw-icon-button.raised.danger {
|
|
624
|
+
background-color: var(--oc-red-9);
|
|
625
|
+
}
|
|
626
|
+
|
|
536
627
|
.pw-icon-button.raised:not(:disabled):hover {
|
|
537
628
|
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.25);
|
|
538
629
|
}
|
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
<meta charset="UTF-8" />
|
|
7
7
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
8
8
|
<title>{% block title_prefix %}{% endblock %}{{ punkweb_bb.settings.SITE_TITLE|default:"PunkwebBB" }}</title>
|
|
9
|
+
<meta property="og:title" content="{% block og_title_prefix %}{% endblock %}{{ punkweb_bb.settings.SITE_TITLE|default:"PunkwebBB" }}" />
|
|
10
|
+
<meta property="og:type" content="website" />
|
|
11
|
+
<meta property="og:url" content="{{ request.build_absolute_uri }}" />
|
|
12
|
+
{% if punkweb_bb.settings.OG_IMAGE %}
|
|
13
|
+
<meta property="og:image" content="{{ punkweb_bb.settings.OG_IMAGE }}" />
|
|
14
|
+
{% endif %}
|
|
9
15
|
<link rel="icon" href="{% static punkweb_bb.settings.FAVICON %}" />
|
|
10
16
|
<link rel="stylesheet" href="{% static 'punkweb_bb/vendor/open-color.css' %}" />
|
|
11
17
|
<link rel="stylesheet" href="{% static 'punkweb_bb/vendor/prism.css' %}" />
|
|
@@ -31,36 +31,45 @@
|
|
|
31
31
|
</colgroup>
|
|
32
32
|
<thead>
|
|
33
33
|
<tr>
|
|
34
|
-
<th
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
<th></th>
|
|
38
|
-
</tr>
|
|
39
|
-
</thead>
|
|
40
|
-
<tbody>
|
|
41
|
-
{% if perms.punkweb_bb.add_subcategory or perms.punkweb_bb.change_category or perms.punkweb_bb.delete_category %}
|
|
42
|
-
<tr>
|
|
43
|
-
<td colspan="4">
|
|
44
|
-
<div class="index__category__actions">
|
|
34
|
+
<th>
|
|
35
|
+
<div class="index__category__title">
|
|
36
|
+
<a href="{{category.get_absolute_url}}">{{category.name}}</a>
|
|
45
37
|
{% if perms.punkweb_bb.add_subcategory %}
|
|
46
|
-
<a
|
|
47
|
-
|
|
38
|
+
<a
|
|
39
|
+
class="pw-icon-button default rounded sm"
|
|
40
|
+
href="{% url 'punkweb_bb:subcategory_create' category.slug %}"
|
|
41
|
+
title="Create subcategory"
|
|
42
|
+
>
|
|
43
|
+
<span class="material-symbols-outlined">add</span>
|
|
48
44
|
</a>
|
|
49
45
|
{% endif %}
|
|
50
46
|
{% if perms.punkweb_bb.change_category %}
|
|
51
|
-
<a
|
|
52
|
-
|
|
47
|
+
<a
|
|
48
|
+
class="pw-icon-button default rounded sm"
|
|
49
|
+
href="{% url 'punkweb_bb:category_update' category.slug %}"
|
|
50
|
+
title="Edit category"
|
|
51
|
+
>
|
|
52
|
+
<span class="material-symbols-outlined">edit</span>
|
|
53
53
|
</a>
|
|
54
54
|
{% endif %}
|
|
55
55
|
{% if perms.punkweb_bb.delete_category %}
|
|
56
|
-
<a
|
|
57
|
-
|
|
56
|
+
<a
|
|
57
|
+
class="pw-icon-button default danger rounded sm"
|
|
58
|
+
title="Delete category"
|
|
59
|
+
hx-get="{% url 'punkweb_bb:category_delete' category.slug %}"
|
|
60
|
+
hx-target="#modal-portal"
|
|
61
|
+
>
|
|
62
|
+
<span class="material-symbols-outlined">delete</span>
|
|
58
63
|
</a>
|
|
59
64
|
{% endif %}
|
|
60
65
|
</div>
|
|
61
|
-
</
|
|
66
|
+
</th>
|
|
67
|
+
<th>Threads</th>
|
|
68
|
+
<th>Posts</th>
|
|
69
|
+
<th></th>
|
|
62
70
|
</tr>
|
|
63
|
-
|
|
71
|
+
</thead>
|
|
72
|
+
<tbody>
|
|
64
73
|
{% for subcategory in category.subcategories.all %}
|
|
65
74
|
<tr>
|
|
66
75
|
<td>
|
|
@@ -134,7 +143,13 @@
|
|
|
134
143
|
</div>
|
|
135
144
|
{% endfor %}
|
|
136
145
|
{% if perms.punkweb_bb.add_category %}
|
|
137
|
-
<a
|
|
146
|
+
<a
|
|
147
|
+
class="pw-icon-button raised primary rounded"
|
|
148
|
+
href="{% url 'punkweb_bb:category_create' %}"
|
|
149
|
+
title="Create category"
|
|
150
|
+
>
|
|
151
|
+
<span class="material-symbols-outlined">add</span>
|
|
152
|
+
</a>
|
|
138
153
|
{% endif %}
|
|
139
154
|
</div>
|
|
140
155
|
<div class="index__sidebar">
|
{punkweb_bb-0.2.0 → punkweb_bb-0.2.1}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html
RENAMED
|
@@ -9,9 +9,13 @@
|
|
|
9
9
|
</div>
|
|
10
10
|
{% if shout|can_delete:request.user %}
|
|
11
11
|
<div class="shoutbox__shout__actions">
|
|
12
|
-
<button
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
<button
|
|
13
|
+
class="pw-icon-button default danger sm"
|
|
14
|
+
title="Delete"
|
|
15
|
+
hx-get="{% url 'punkweb_bb:shout_delete' shout.id %}"
|
|
16
|
+
hx-target="#modal-portal"
|
|
17
|
+
>
|
|
18
|
+
<span class="material-symbols-outlined">delete</span>
|
|
15
19
|
</button>
|
|
16
20
|
</div>
|
|
17
21
|
{% endif %}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
{% load static humanize_int can_post %}
|
|
3
3
|
|
|
4
4
|
{% block title_prefix %}{{subcategory.name}} | {% endblock%}
|
|
5
|
+
{% block og_title_prefix %}{{subcategory.name}} | {% endblock %}
|
|
5
6
|
|
|
6
7
|
{% block extra_head %}
|
|
7
8
|
<link rel="stylesheet" href="{% static 'punkweb_bb/css/subcategory.css' %}" />
|
|
@@ -29,13 +30,22 @@
|
|
|
29
30
|
{% if perms.punkweb_bb.change_subcategory or perms.punkweb_bb.delete_subcategory %}
|
|
30
31
|
<div class="subcategory__header__actions">
|
|
31
32
|
{% if perms.punkweb_bb.change_subcategory %}
|
|
32
|
-
<a
|
|
33
|
-
|
|
33
|
+
<a
|
|
34
|
+
class="pw-icon-button default rounded"
|
|
35
|
+
href="{% url 'punkweb_bb:subcategory_update' subcategory.slug %}"
|
|
36
|
+
title="Edit subcategory"
|
|
37
|
+
>
|
|
38
|
+
<span class="material-symbols-outlined">edit</span>
|
|
34
39
|
</a>
|
|
35
40
|
{% endif %}
|
|
36
41
|
{% if perms.punkweb_bb.delete_subcategory %}
|
|
37
|
-
<a
|
|
38
|
-
|
|
42
|
+
<a
|
|
43
|
+
class="pw-icon-button default rounded danger"
|
|
44
|
+
title="Delete subcategory"
|
|
45
|
+
hx-get="{% url 'punkweb_bb:subcategory_delete' subcategory.slug %}"
|
|
46
|
+
hx-target="#modal-portal"
|
|
47
|
+
>
|
|
48
|
+
<span class="material-symbols-outlined">delete</span>
|
|
39
49
|
</a>
|
|
40
50
|
{% endif %}
|
|
41
51
|
</div>
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
{% load static can_delete can_edit can_post %}
|
|
3
3
|
|
|
4
4
|
{% block title_prefix %}{{thread.title}} | {% endblock %}
|
|
5
|
+
{% block og_title_prefix %}{{thread.title}} | {% endblock %}
|
|
5
6
|
|
|
6
7
|
{% block extra_head %}
|
|
8
|
+
<meta name="description" content="{{thread.content.rendered|striptags|truncatechars:120}}" />
|
|
9
|
+
<meta property="og:description" content="{{thread.content.rendered|striptags|truncatechars:120}}" />
|
|
7
10
|
<link rel="stylesheet" href="{% static 'punkweb_bb/css/post-form.css' %}" />
|
|
8
11
|
<link rel="stylesheet" href="{% static 'punkweb_bb/css/thread.css' %}" />
|
|
9
12
|
<link rel="stylesheet" href="{% static 'punkweb_bb/css/thread-form.css' %}" />
|
|
@@ -79,24 +82,62 @@
|
|
|
79
82
|
<div class="thread__content">
|
|
80
83
|
{{thread.content.rendered}}
|
|
81
84
|
</div>
|
|
82
|
-
{% if thread.user.
|
|
83
|
-
<div class="thread__signature">
|
|
84
|
-
{{thread.user.profile.signature.rendered}}
|
|
85
|
-
</div>
|
|
86
|
-
{% endif %}
|
|
87
|
-
{% if thread|can_delete:request.user or thread|can_edit:request.user %}
|
|
85
|
+
{% if thread|can_delete:request.user or thread|can_edit:request.user or perms.punkweb_bb.pin_thread or perms.punkweb_bb.close_thread %}
|
|
88
86
|
<div class="thread__actions">
|
|
87
|
+
{% if perms.punkweb_bb.pin_thread %}
|
|
88
|
+
<a
|
|
89
|
+
class="pw-icon-button default rounded"
|
|
90
|
+
title="{% if thread.is_pinned %}Unpin{% else %}Pin{% endif %}"
|
|
91
|
+
hx-get="{% url 'punkweb_bb:thread_pin' thread.id %}"
|
|
92
|
+
hx-swap="none"
|
|
93
|
+
>
|
|
94
|
+
{% if thread.is_pinned %}
|
|
95
|
+
<span class="material-symbols-outlined">keep_off</span>
|
|
96
|
+
{% else %}
|
|
97
|
+
<span class="material-symbols-outlined">keep</span>
|
|
98
|
+
{% endif %}
|
|
99
|
+
</a>
|
|
100
|
+
{% endif %}
|
|
101
|
+
{% if perms.punkweb_bb.close_thread %}
|
|
102
|
+
<a
|
|
103
|
+
class="pw-icon-button default rounded"
|
|
104
|
+
title="{% if thread.is_closed %}Reopen{% else %}Close{% endif %}"
|
|
105
|
+
hx-get="{% url 'punkweb_bb:thread_close' thread.id %}"
|
|
106
|
+
hx-swap="none"
|
|
107
|
+
>
|
|
108
|
+
{% if thread.is_closed %}
|
|
109
|
+
<span class="material-symbols-outlined">lock_open</span>
|
|
110
|
+
{% else %}
|
|
111
|
+
<span class="material-symbols-outlined">lock</span>
|
|
112
|
+
{% endif %}
|
|
113
|
+
</a>
|
|
114
|
+
{% endif %}
|
|
89
115
|
{% if thread|can_edit:request.user %}
|
|
90
|
-
<a
|
|
116
|
+
<a
|
|
117
|
+
class="pw-icon-button default rounded"
|
|
118
|
+
href="{% url 'punkweb_bb:thread_update' thread.id %}"
|
|
119
|
+
title="Edit"
|
|
120
|
+
>
|
|
121
|
+
<span class="material-symbols-outlined">edit</span>
|
|
122
|
+
</a>
|
|
91
123
|
{% endif %}
|
|
92
124
|
{% if thread|can_delete:request.user %}
|
|
93
|
-
<a
|
|
94
|
-
|
|
95
|
-
Delete
|
|
125
|
+
<a
|
|
126
|
+
class="pw-icon-button default rounded danger"
|
|
127
|
+
title="Delete"
|
|
128
|
+
hx-get="{% url 'punkweb_bb:thread_delete' thread.id %}"
|
|
129
|
+
hx-target="#modal-portal"
|
|
130
|
+
>
|
|
131
|
+
<span class="material-symbols-outlined">delete</span>
|
|
96
132
|
</a>
|
|
97
133
|
{% endif %}
|
|
98
134
|
</div>
|
|
99
135
|
{% endif %}
|
|
136
|
+
{% if thread.user.profile.signature.rendered %}
|
|
137
|
+
<div class="thread__signature">
|
|
138
|
+
{{thread.user.profile.signature.rendered}}
|
|
139
|
+
</div>
|
|
140
|
+
{% endif %}
|
|
100
141
|
</div>
|
|
101
142
|
</div>
|
|
102
143
|
</div>
|
|
@@ -151,24 +192,35 @@
|
|
|
151
192
|
<div class="thread__content">
|
|
152
193
|
{{post.content.rendered}}
|
|
153
194
|
</div>
|
|
154
|
-
{% if post.user.profile.signature.rendered %}
|
|
155
|
-
<div class="thread__signature">
|
|
156
|
-
{{post.user.profile.signature.rendered}}
|
|
157
|
-
</div>
|
|
158
|
-
{% endif %}
|
|
159
195
|
{% if post|can_delete:request.user or post|can_edit:request.user %}
|
|
160
196
|
<div class="thread__actions">
|
|
161
197
|
{% if post|can_edit:request.user %}
|
|
162
|
-
<a
|
|
198
|
+
<a
|
|
199
|
+
class="pw-icon-button default rounded"
|
|
200
|
+
title="Edit"
|
|
201
|
+
hx-get="{% url 'punkweb_bb:post_update' post.id %}"
|
|
202
|
+
hx-target="#modal-portal"
|
|
203
|
+
>
|
|
204
|
+
<span class="material-symbols-outlined">edit</span>
|
|
205
|
+
</a>
|
|
163
206
|
{% endif %}
|
|
164
207
|
{% if post|can_delete:request.user %}
|
|
165
|
-
<a
|
|
166
|
-
|
|
167
|
-
Delete
|
|
208
|
+
<a
|
|
209
|
+
class="pw-icon-button default rounded danger"
|
|
210
|
+
title="Delete"
|
|
211
|
+
hx-get="{% url 'punkweb_bb:post_delete' post.id %}"
|
|
212
|
+
hx-target="#modal-portal"
|
|
213
|
+
>
|
|
214
|
+
<span class="material-symbols-outlined">delete</span>
|
|
168
215
|
</a>
|
|
169
216
|
{% endif %}
|
|
170
217
|
</div>
|
|
171
218
|
{% endif %}
|
|
219
|
+
{% if post.user.profile.signature.rendered %}
|
|
220
|
+
<div class="thread__signature">
|
|
221
|
+
{{post.user.profile.signature.rendered}}
|
|
222
|
+
</div>
|
|
223
|
+
{% endif %}
|
|
172
224
|
</div>
|
|
173
225
|
</div>
|
|
174
226
|
</div>
|
|
@@ -59,6 +59,8 @@ urlpatterns = [
|
|
|
59
59
|
views.post_create_view,
|
|
60
60
|
name="post_create",
|
|
61
61
|
),
|
|
62
|
+
path("thread/<str:thread_id>/pin/", views.thread_pin_view, name="thread_pin"),
|
|
63
|
+
path("thread/<str:thread_id>/close/", views.thread_close_view, name="thread_close"),
|
|
62
64
|
path("post/<str:post_id>/delete/", views.post_delete_view, name="post_delete"),
|
|
63
65
|
path("post/<str:post_id>/update/", views.post_update_view, name="post_update"),
|
|
64
66
|
path("shout-list/", views.shout_list_view, name="shout_list"),
|
|
@@ -406,6 +406,32 @@ def thread_delete_view(request, thread_id):
|
|
|
406
406
|
return render(request, "punkweb_bb/partials/thread_delete.html", context=context)
|
|
407
407
|
|
|
408
408
|
|
|
409
|
+
@login_required(login_url="/login/")
|
|
410
|
+
def thread_pin_view(request, thread_id):
|
|
411
|
+
thread = get_object_or_404(Thread, pk=thread_id)
|
|
412
|
+
|
|
413
|
+
if not request.user.has_perm("punkweb_bb.pin_thread"):
|
|
414
|
+
return HttpResponseForbidden("You do not have permission to pin threads.")
|
|
415
|
+
|
|
416
|
+
thread.is_pinned = not thread.is_pinned
|
|
417
|
+
thread.save()
|
|
418
|
+
|
|
419
|
+
return htmx_redirect(thread.get_absolute_url())
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
@login_required(login_url="/login/")
|
|
423
|
+
def thread_close_view(request, thread_id):
|
|
424
|
+
thread = get_object_or_404(Thread, pk=thread_id)
|
|
425
|
+
|
|
426
|
+
if not request.user.has_perm("punkweb_bb.close_thread"):
|
|
427
|
+
return HttpResponseForbidden("You do not have permission to close threads.")
|
|
428
|
+
|
|
429
|
+
thread.is_closed = not thread.is_closed
|
|
430
|
+
thread.save()
|
|
431
|
+
|
|
432
|
+
return htmx_redirect(thread.get_absolute_url())
|
|
433
|
+
|
|
434
|
+
|
|
409
435
|
@login_required(login_url="/login/")
|
|
410
436
|
def post_create_view(request, thread_id):
|
|
411
437
|
thread = get_object_or_404(Thread, pk=thread_id)
|
|
@@ -52,9 +52,11 @@ punkweb_bb/__pycache__/views.cpython-311.pyc
|
|
|
52
52
|
punkweb_bb/__pycache__/widgets.cpython-311.pyc
|
|
53
53
|
punkweb_bb/migrations/0001_initial.py
|
|
54
54
|
punkweb_bb/migrations/0002_thread_view_count.py
|
|
55
|
+
punkweb_bb/migrations/0003_alter_thread_options.py
|
|
55
56
|
punkweb_bb/migrations/__init__.py
|
|
56
57
|
punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc
|
|
57
58
|
punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc
|
|
59
|
+
punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc
|
|
58
60
|
punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc
|
|
59
61
|
punkweb_bb/static/punkweb_bb/favicon.ico
|
|
60
62
|
punkweb_bb/static/punkweb_bb/css/category-form.css
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|