punkweb-bb 0.2.2__tar.gz → 0.2.3__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.2 → punkweb_bb-0.2.3}/PKG-INFO +1 -1
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/sitemap.cpython-311.pyc +0 -0
- punkweb_bb-0.2.3/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/models.py +6 -3
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/thread.css +21 -28
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/members.html +3 -1
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/profile.html +6 -2
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html +1 -1
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory.html +1 -1
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread.html +70 -62
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/styled_group_name.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/styled_group_name.py +2 -2
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/utils.py +4 -4
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/views.py +1 -3
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/PKG-INFO +1 -1
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/SOURCES.txt +1 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/setup.py +1 -1
- punkweb_bb-0.2.2/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
- punkweb_bb-0.2.2/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/LICENSE +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/MANIFEST.in +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/README.md +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__init__.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/admin.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/apps.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/context_processors.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/forms.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/guests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/mixins.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/pagination.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/response.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/signals.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/urls.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/admin.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/admin_forms.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/apps.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/bbcode_tags.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/context_processors.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/forms.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/guests.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/middleware.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0001_initial.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0002_thread_view_count.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0003_alter_thread_options.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0004_groupstyle.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__init__.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0004_groupstyle.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/mixins.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/pagination.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/parsers.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/response.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/settings.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/signals.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/category-form.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/defaults.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/index.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/login.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/members.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/post-form.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/profile.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/punkweb-modal.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/punkweb.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/settings.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/shoutbox.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/subcategory-form.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/subcategory.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/thread-form.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/typography.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/variables.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/favicon.ico +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/img/default-profile-image.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/js/punkweb-modal.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/js/shoutbox.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/htmx-1.9.4.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/jquery-3.7.0.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/open-color.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/prism.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/prism.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/README.md +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/material.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/icons/monocons.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.bbcode.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/jquery.sceditor.xhtml.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/format.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/undo.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/sceditor.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/content/default.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/default.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/defaultdark.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/modern.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office-toolbar.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/office.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/development/themes/square.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/alien.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angel.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/angry.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blink.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/blush.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cheerful.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cool.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/credits.txt +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/cwy.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/devil.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/dizzy.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ermm.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/face.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/getlost.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/grin.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/happy.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/heart.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/kissing.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/laughing.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/ninja.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pinch.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/pouty.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sad.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/shocked.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sick.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sideways.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/silly.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/sleeping.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/smile.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/tongue.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/unsure.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/w00t.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wassat.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/whistling.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wink.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/emoticons/wub.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/example.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ar.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ca.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cn.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/cs.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/de.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/el.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en-US.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/en.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/es.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/et.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fa.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fi.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/fr.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/gl.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/hu.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/id.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/it.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ja.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/lt.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nb.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/nl.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pl.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt-BR.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/pt.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/ru.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sk.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/sv.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/template.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tr.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/tw.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/uk.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/languages/vi.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/bbcode.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/formats/xhtml.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/material.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/icons/monocons.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.bbcode.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/jquery.sceditor.xhtml.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/alternative-lists.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autosave.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/autoyoutube.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/dragdrop.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/format.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/plaintext.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/undo.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/plugins/v1compat.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/sceditor.min.js +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/content/default.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/default.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/defaultdark.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/famfamfam.png +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/modern.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office-toolbar.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/office.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/minified/themes/square.min.css +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/base.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/base_modal.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/bbcode.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/category_create.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/category_update.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/index.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/login.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/category_delete.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/post_delete.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/post_update.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/settings.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/signup.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory_create.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory_update.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread_create.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread_update.html +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__init__.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_delete.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_edit.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_post.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/styled_username.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/username.cpython-311.pyc +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_delete.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_edit.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_post.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/humanize_int.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/shoutbox_bbcode.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/styled_username.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/tests.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/urls.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/widgets.py +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/dependency_links.txt +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/not-zip-safe +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/requires.txt +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/top_level.txt +0 -0
- {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/setup.cfg +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import datetime
|
|
2
1
|
import math
|
|
3
2
|
import os
|
|
4
3
|
|
|
@@ -12,7 +11,7 @@ from django.utils import timezone
|
|
|
12
11
|
from precise_bbcode.fields import BBCodeTextField
|
|
13
12
|
|
|
14
13
|
from punkweb_bb.mixins import TimestampMixin, UUIDPrimaryKeyMixin
|
|
15
|
-
from punkweb_bb.utils import get_styled_username
|
|
14
|
+
from punkweb_bb.utils import get_highest_priority_group, get_styled_username
|
|
16
15
|
|
|
17
16
|
User = get_user_model()
|
|
18
17
|
|
|
@@ -30,6 +29,10 @@ class BoardProfile(UUIDPrimaryKeyMixin, TimestampMixin):
|
|
|
30
29
|
class Meta:
|
|
31
30
|
ordering = ("user__username",)
|
|
32
31
|
|
|
32
|
+
@property
|
|
33
|
+
def priority_group(self):
|
|
34
|
+
return get_highest_priority_group(self.user)
|
|
35
|
+
|
|
33
36
|
@property
|
|
34
37
|
def styled_username(self):
|
|
35
38
|
return get_styled_username(self.user)
|
|
@@ -38,7 +41,7 @@ class BoardProfile(UUIDPrimaryKeyMixin, TimestampMixin):
|
|
|
38
41
|
def is_online(self):
|
|
39
42
|
last_seen = cache.get(f"profile_online_{self.id}")
|
|
40
43
|
if last_seen:
|
|
41
|
-
return timezone.now() < last_seen +
|
|
44
|
+
return timezone.now() < last_seen + timezone.timedelta(minutes=5)
|
|
42
45
|
return False
|
|
43
46
|
|
|
44
47
|
@property
|
|
@@ -28,13 +28,25 @@
|
|
|
28
28
|
padding: 1rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.thread__user__info {
|
|
32
32
|
align-items: center;
|
|
33
33
|
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
34
35
|
gap: 0.25rem;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
.
|
|
38
|
+
.thread__user__username {
|
|
39
|
+
align-items: center;
|
|
40
|
+
display: flex;
|
|
41
|
+
gap: 0.25rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.thread__user__group {
|
|
45
|
+
font-size: 0.75rem;
|
|
46
|
+
font-weight: 700;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.thread__user__details {
|
|
38
50
|
background-color: var(--oc-gray-0);
|
|
39
51
|
border: 1px solid var(--border);
|
|
40
52
|
border-radius: 0.25rem;
|
|
@@ -45,35 +57,16 @@
|
|
|
45
57
|
width: 100%;
|
|
46
58
|
}
|
|
47
59
|
|
|
48
|
-
.
|
|
60
|
+
.thread__user__details__row {
|
|
49
61
|
align-items: center;
|
|
50
62
|
display: flex;
|
|
51
63
|
justify-content: space-between;
|
|
52
64
|
}
|
|
53
65
|
|
|
54
|
-
.
|
|
66
|
+
.thread__user__details__label {
|
|
55
67
|
color: var(--body-fg);
|
|
56
68
|
}
|
|
57
69
|
|
|
58
|
-
.thread__user__groups {
|
|
59
|
-
display: flex;
|
|
60
|
-
flex-direction: column;
|
|
61
|
-
gap: 0.5rem;
|
|
62
|
-
width: 100%;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.thread__user__group {
|
|
66
|
-
background-color: var(--oc-gray-0);
|
|
67
|
-
border: 1px solid var(--border);
|
|
68
|
-
border-radius: 0.25rem;
|
|
69
|
-
color: var(--text-on-primary);
|
|
70
|
-
display: flex;
|
|
71
|
-
font-size: 0.875rem;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
padding: 0.5rem;
|
|
74
|
-
width: 100%;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
70
|
.thread__main {
|
|
78
71
|
display: flex;
|
|
79
72
|
flex-direction: column;
|
|
@@ -85,11 +78,6 @@
|
|
|
85
78
|
padding: 1rem;
|
|
86
79
|
}
|
|
87
80
|
|
|
88
|
-
.thread__signature {
|
|
89
|
-
border-top: 1px solid var(--border);
|
|
90
|
-
padding: 1rem;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
81
|
.thread__actions {
|
|
94
82
|
align-items: center;
|
|
95
83
|
display: flex;
|
|
@@ -98,6 +86,11 @@
|
|
|
98
86
|
padding: 1rem;
|
|
99
87
|
}
|
|
100
88
|
|
|
89
|
+
.thread__signature {
|
|
90
|
+
border-top: 1px solid var(--border);
|
|
91
|
+
padding: 1rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
101
94
|
.thread__reply__content {
|
|
102
95
|
display: flex;
|
|
103
96
|
flex-direction: column;
|
|
@@ -41,7 +41,9 @@
|
|
|
41
41
|
</div>
|
|
42
42
|
<div class="members__user__stat">
|
|
43
43
|
Date Joined:
|
|
44
|
-
<span class="members__user__stat__value">
|
|
44
|
+
<span class="members__user__stat__value">
|
|
45
|
+
<time datetime="{{user.date_joined|date:'c'}}">{{user.date_joined | date:'m/d/Y'}}</time>
|
|
46
|
+
</span>
|
|
45
47
|
</div>
|
|
46
48
|
</div>
|
|
47
49
|
</div>
|
|
@@ -39,11 +39,15 @@
|
|
|
39
39
|
<div class="profile__info__stats">
|
|
40
40
|
<div class="profile__info__stat">
|
|
41
41
|
Date Joined:
|
|
42
|
-
<span class="profile__info__stat__value">
|
|
42
|
+
<span class="profile__info__stat__value">
|
|
43
|
+
<time datetime="{{user.date_joined|date:'c'}}">{{user.date_joined | date:'m/d/Y'}}</time>
|
|
44
|
+
</span>
|
|
43
45
|
</div>
|
|
44
46
|
<div class="profile__info__stat">
|
|
45
47
|
Last Login:
|
|
46
|
-
<span class="profile__info__stat__value">
|
|
48
|
+
<span class="profile__info__stat__value">
|
|
49
|
+
<time datetime="{{user.last_login|date:'c'}}">{{user.last_login | date:'m/d/Y'}}</time>
|
|
50
|
+
</span>
|
|
47
51
|
</div>
|
|
48
52
|
<div class="profile__info__stat">
|
|
49
53
|
Posts:
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
{% for shout in shouts %}
|
|
4
4
|
<div class="shoutbox__shout">
|
|
5
5
|
<div class="shoutbox__shout__content">
|
|
6
|
-
<
|
|
6
|
+
<time datetime="{{shout.created_at|date:'c'}}">{{shout.created_at | date:'g:i A'}}</time>
|
|
7
7
|
<span><a href="{% url 'punkweb_bb:profile' shout.user.id %}">{{shout.user|styled_username}}</a>: </span>
|
|
8
8
|
<span>{{ shout.content | safe | shoutbox_bbcode }}</span>
|
|
9
9
|
</div>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{{thread.user|styled_username}}
|
|
102
102
|
</a>
|
|
103
103
|
•
|
|
104
|
-
{{thread.created_at|date:'
|
|
104
|
+
<time datetime="{{thread.created_at|date:'c'}}">{{thread.created_at | date:'m j, Y'}}</time>
|
|
105
105
|
</td>
|
|
106
106
|
<td>{{thread.post_count}}</td>
|
|
107
107
|
<td>{{thread.view_count | humanize_int}}</td>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{% extends 'punkweb_bb/base.html' %}
|
|
2
|
-
{% load static can_delete can_edit can_post styled_username
|
|
2
|
+
{% load static can_delete can_edit can_post styled_username %}
|
|
3
3
|
|
|
4
4
|
{% block title_prefix %}{{thread.title}} | {% endblock %}
|
|
5
5
|
{% block og_title_prefix %}{{thread.title}} | {% endblock %}
|
|
@@ -41,44 +41,48 @@
|
|
|
41
41
|
|
|
42
42
|
<div class="pw-card fluid margin">
|
|
43
43
|
<div class="pw-card-header">
|
|
44
|
-
<div class="thread__date">
|
|
44
|
+
<div class="thread__date">
|
|
45
|
+
<time datetime="{{thread.created_at|date:'c'}}">{{thread.created_at | date:'M d, Y'}}</time>
|
|
46
|
+
</div>
|
|
45
47
|
</div>
|
|
46
48
|
<div class="thread">
|
|
47
49
|
<div class="thread__user">
|
|
48
|
-
{% if thread.user.profile.image %}
|
|
49
|
-
<img class="pw-avatar" src="{{thread.user.profile.image.url}}" alt="{{thread.user.username}}" />
|
|
50
|
-
{% else %}
|
|
51
|
-
<img class="pw-avatar" src="{% static 'punkweb_bb/img/default-profile-image.png' %}" alt="{{thread.user.username}}" />
|
|
52
|
-
{% endif %}
|
|
53
|
-
<div class="thread__user__usernameContainer">
|
|
54
|
-
{% if thread.user.profile.is_online %}
|
|
55
|
-
<div class="onlineIndicator"></div>
|
|
56
|
-
{% endif %}
|
|
57
|
-
<a href="{% url 'punkweb_bb:profile' thread.user.id %}">
|
|
58
|
-
{{thread.user|styled_username}}
|
|
59
|
-
</a>
|
|
60
|
-
</div>
|
|
61
50
|
<div class="thread__user__info">
|
|
62
|
-
<div class="
|
|
63
|
-
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
51
|
+
<div class="thread__user__image">
|
|
52
|
+
{% if thread.user.profile.image %}
|
|
53
|
+
<img class="pw-avatar" src="{{thread.user.profile.image.url}}" alt="{{thread.user.username}}" />
|
|
54
|
+
{% else %}
|
|
55
|
+
<img class="pw-avatar" src="{% static 'punkweb_bb/img/default-profile-image.png' %}" alt="{{thread.user.username}}" />
|
|
56
|
+
{% endif %}
|
|
67
57
|
</div>
|
|
68
|
-
<div class="
|
|
69
|
-
|
|
70
|
-
<div class="
|
|
58
|
+
<div class="thread__user__username">
|
|
59
|
+
{% if thread.user.profile.is_online %}
|
|
60
|
+
<div class="onlineIndicator"></div>
|
|
61
|
+
{% endif %}
|
|
62
|
+
<a href="{% url 'punkweb_bb:profile' thread.user.id %}">
|
|
63
|
+
{{thread.user|styled_username}}
|
|
64
|
+
</a>
|
|
71
65
|
</div>
|
|
72
|
-
</div>
|
|
73
|
-
{% if thread.user.groups.all|length > 0 %}
|
|
74
|
-
<div class="thread__user__groups">
|
|
75
|
-
{% for group in thread.user.groups.all %}
|
|
76
66
|
<div class="thread__user__group">
|
|
77
|
-
{
|
|
67
|
+
{% if thread.user.profile.priority_group %}
|
|
68
|
+
{{thread.user.profile.priority_group.name}}
|
|
69
|
+
{% else %}
|
|
70
|
+
Member
|
|
71
|
+
{% endif %}
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="thread__user__details">
|
|
75
|
+
<div class="thread__user__details__row">
|
|
76
|
+
<div class="thread__user__details__label">Joined:</div>
|
|
77
|
+
<div class="thread__user__details__value">
|
|
78
|
+
<time datetime="{{thread.user.date_joined|date:'c'}}">{{thread.user.date_joined | date:'M d, Y'}}</time>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="thread__user__details__row">
|
|
82
|
+
<div class="thread__user__details__label">Posts:</div>
|
|
83
|
+
<div class="thread__user__details__value">{{thread.user.profile.post_count}}</div>
|
|
78
84
|
</div>
|
|
79
|
-
{% endfor %}
|
|
80
85
|
</div>
|
|
81
|
-
{% endif %}
|
|
82
86
|
</div>
|
|
83
87
|
<div class="thread__main">
|
|
84
88
|
<div class="thread__content">
|
|
@@ -148,49 +152,53 @@
|
|
|
148
152
|
{% for post in posts %}
|
|
149
153
|
<div id="post-{{post.id}}" class="pw-card fluid margin">
|
|
150
154
|
<div class="pw-card-header thread__header">
|
|
151
|
-
<div class="thread__date">
|
|
155
|
+
<div class="thread__date">
|
|
156
|
+
<time datetime="{{post.created_at|date:'c'}}">{{post.created_at | date:'M d, Y'}}</time>
|
|
157
|
+
</div>
|
|
152
158
|
<a class="thread__index" href="{{post.get_absolute_url}}">#{{post.index}}</a>
|
|
153
159
|
</div>
|
|
154
160
|
<div class="thread">
|
|
155
161
|
<div class="thread__user">
|
|
156
|
-
{% if post.user.profile.image %}
|
|
157
|
-
<div class="thread__user__image">
|
|
158
|
-
<img class="pw-avatar" src="{{post.user.profile.image.url}}" alt="{{post.user.username}}" />
|
|
159
|
-
</div>
|
|
160
|
-
{% else %}
|
|
161
|
-
<div class="thread__user__image">
|
|
162
|
-
<img class="pw-avatar" src="{% static 'punkweb_bb/img/default-profile-image.png' %}" alt="{{post.user.username}}" />
|
|
163
|
-
</div>
|
|
164
|
-
{% endif %}
|
|
165
|
-
<div class="thread__user__usernameContainer">
|
|
166
|
-
{% if post.user.profile.is_online %}
|
|
167
|
-
<div class="onlineIndicator"></div>
|
|
168
|
-
{% endif %}
|
|
169
|
-
<a href="{% url 'punkweb_bb:profile' post.user.id %}">
|
|
170
|
-
{{post.user|styled_username}}
|
|
171
|
-
</a>
|
|
172
|
-
</div>
|
|
173
162
|
<div class="thread__user__info">
|
|
174
|
-
<div class="
|
|
175
|
-
|
|
176
|
-
<div class="
|
|
177
|
-
{{post.user.
|
|
163
|
+
<div class="thread__user__image">
|
|
164
|
+
{% if post.user.profile.image %}
|
|
165
|
+
<div class="thread__user__image">
|
|
166
|
+
<img class="pw-avatar" src="{{post.user.profile.image.url}}" alt="{{post.user.username}}" />
|
|
167
|
+
</div>
|
|
168
|
+
{% else %}
|
|
169
|
+
<div class="thread__user__image">
|
|
170
|
+
<img class="pw-avatar" src="{% static 'punkweb_bb/img/default-profile-image.png' %}" alt="{{post.user.username}}" />
|
|
178
171
|
</div>
|
|
172
|
+
{% endif %}
|
|
179
173
|
</div>
|
|
180
|
-
<div class="
|
|
181
|
-
|
|
182
|
-
<div class="
|
|
174
|
+
<div class="thread__user__username">
|
|
175
|
+
{% if post.user.profile.is_online %}
|
|
176
|
+
<div class="onlineIndicator"></div>
|
|
177
|
+
{% endif %}
|
|
178
|
+
<a href="{% url 'punkweb_bb:profile' post.user.id %}">
|
|
179
|
+
{{post.user|styled_username}}
|
|
180
|
+
</a>
|
|
183
181
|
</div>
|
|
184
|
-
</div>
|
|
185
|
-
{% if post.user.groups.all|length > 0 %}
|
|
186
|
-
<div class="thread__user__groups">
|
|
187
|
-
{% for group in post.user.groups.all %}
|
|
188
182
|
<div class="thread__user__group">
|
|
189
|
-
{
|
|
183
|
+
{% if post.user.profile.priority_group %}
|
|
184
|
+
{{post.user.profile.priority_group.name}}
|
|
185
|
+
{% else %}
|
|
186
|
+
Member
|
|
187
|
+
{% endif %}
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="thread__user__details">
|
|
191
|
+
<div class="thread__user__details__row">
|
|
192
|
+
<div class="thread__user__details__label">Joined:</div>
|
|
193
|
+
<div class="thread__user__details__value">
|
|
194
|
+
<time datetime="{{post.user.date_joined|date:'c'}}">{{post.user.date_joined | date:'M d, Y'}}</time>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
<div class="thread__user__details__row">
|
|
198
|
+
<div class="thread__user__details__label">Posts:</div>
|
|
199
|
+
<div class="thread__user__details__value">{{post.user.profile.post_count}}</div>
|
|
190
200
|
</div>
|
|
191
|
-
{% endfor %}
|
|
192
201
|
</div>
|
|
193
|
-
{% endif %}
|
|
194
202
|
</div>
|
|
195
203
|
<div class="thread__main">
|
|
196
204
|
<div class="thread__content">
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from django import template
|
|
2
2
|
from django.utils.safestring import mark_safe
|
|
3
3
|
|
|
4
|
-
from punkweb_bb.utils import
|
|
4
|
+
from punkweb_bb.utils import get_styled_group_name
|
|
5
5
|
|
|
6
6
|
register = template.Library()
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
@register.filter
|
|
10
10
|
def styled_group_name(group):
|
|
11
|
-
return mark_safe(
|
|
11
|
+
return mark_safe(get_styled_group_name(group))
|
|
@@ -18,8 +18,8 @@ def get_unique_slug(model, field):
|
|
|
18
18
|
return slug
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
def
|
|
22
|
-
groups =
|
|
21
|
+
def get_highest_priority_group(user):
|
|
22
|
+
groups = user.groups.filter(style__isnull=False)
|
|
23
23
|
|
|
24
24
|
if groups.exists():
|
|
25
25
|
return groups.order_by("-style__priority").first()
|
|
@@ -28,7 +28,7 @@ def get_user_highest_priority_group(user):
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
def get_styled_username(user):
|
|
31
|
-
group =
|
|
31
|
+
group = get_highest_priority_group(user)
|
|
32
32
|
|
|
33
33
|
if group:
|
|
34
34
|
username_style = group.style.username_style
|
|
@@ -38,7 +38,7 @@ def get_styled_username(user):
|
|
|
38
38
|
return user.username
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
def
|
|
41
|
+
def get_styled_group_name(group):
|
|
42
42
|
if group.style is None:
|
|
43
43
|
return group.name
|
|
44
44
|
else:
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import datetime
|
|
2
|
-
|
|
3
1
|
from django.contrib.auth import authenticate, get_user_model, login, logout
|
|
4
2
|
from django.contrib.auth.decorators import login_required
|
|
5
3
|
from django.http import HttpResponseForbidden
|
|
@@ -498,7 +496,7 @@ def post_delete_view(request, post_id):
|
|
|
498
496
|
|
|
499
497
|
def current_shouts():
|
|
500
498
|
return Shout.objects.filter(
|
|
501
|
-
created_at__gt=timezone.now() -
|
|
499
|
+
created_at__gt=timezone.now() - timezone.timedelta(hours=12)
|
|
502
500
|
).order_by("created_at")
|
|
503
501
|
|
|
504
502
|
|
|
@@ -45,6 +45,7 @@ punkweb_bb/__pycache__/parsers.cpython-311.pyc
|
|
|
45
45
|
punkweb_bb/__pycache__/response.cpython-311.pyc
|
|
46
46
|
punkweb_bb/__pycache__/settings.cpython-311.pyc
|
|
47
47
|
punkweb_bb/__pycache__/signals.cpython-311.pyc
|
|
48
|
+
punkweb_bb/__pycache__/sitemap.cpython-311.pyc
|
|
48
49
|
punkweb_bb/__pycache__/tests.cpython-311.pyc
|
|
49
50
|
punkweb_bb/__pycache__/urls.cpython-311.pyc
|
|
50
51
|
punkweb_bb/__pycache__/utils.cpython-311.pyc
|
|
Binary file
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/context_processors.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css
RENAMED
|
File without changes
|
{punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|