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.
Files changed (258) hide show
  1. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/PKG-INFO +1 -1
  2. punkweb_bb-0.2.3/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
  3. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/settings.cpython-311.pyc +0 -0
  4. punkweb_bb-0.2.3/punkweb_bb/__pycache__/sitemap.cpython-311.pyc +0 -0
  5. punkweb_bb-0.2.3/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
  6. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/views.cpython-311.pyc +0 -0
  7. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/models.py +6 -3
  8. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/thread.css +21 -28
  9. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/members.html +3 -1
  10. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/profile.html +6 -2
  11. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/shoutbox/shout_list.html +1 -1
  12. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory.html +1 -1
  13. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread.html +70 -62
  14. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/styled_group_name.cpython-311.pyc +0 -0
  15. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/styled_group_name.py +2 -2
  16. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/utils.py +4 -4
  17. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/views.py +1 -3
  18. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/PKG-INFO +1 -1
  19. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/SOURCES.txt +1 -0
  20. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/setup.py +1 -1
  21. punkweb_bb-0.2.2/punkweb_bb/__pycache__/models.cpython-311.pyc +0 -0
  22. punkweb_bb-0.2.2/punkweb_bb/__pycache__/utils.cpython-311.pyc +0 -0
  23. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/LICENSE +0 -0
  24. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/MANIFEST.in +0 -0
  25. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/README.md +0 -0
  26. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__init__.py +0 -0
  27. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/__init__.cpython-311.pyc +0 -0
  28. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/admin.cpython-311.pyc +0 -0
  29. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/admin_forms.cpython-311.pyc +0 -0
  30. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/apps.cpython-311.pyc +0 -0
  31. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/bbcode_tags.cpython-311.pyc +0 -0
  32. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/context_processors.cpython-311.pyc +0 -0
  33. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/forms.cpython-311.pyc +0 -0
  34. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/guests.cpython-311.pyc +0 -0
  35. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/middleware.cpython-311.pyc +0 -0
  36. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/mixins.cpython-311.pyc +0 -0
  37. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/pagination.cpython-311.pyc +0 -0
  38. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/parsers.cpython-311.pyc +0 -0
  39. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/response.cpython-311.pyc +0 -0
  40. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/signals.cpython-311.pyc +0 -0
  41. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/tests.cpython-311.pyc +0 -0
  42. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/urls.cpython-311.pyc +0 -0
  43. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/__pycache__/widgets.cpython-311.pyc +0 -0
  44. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/admin.py +0 -0
  45. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/admin_forms.py +0 -0
  46. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/apps.py +0 -0
  47. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/bbcode_tags.py +0 -0
  48. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/context_processors.py +0 -0
  49. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/forms.py +0 -0
  50. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/guests.py +0 -0
  51. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/middleware.py +0 -0
  52. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0001_initial.py +0 -0
  53. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0002_thread_view_count.py +0 -0
  54. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0003_alter_thread_options.py +0 -0
  55. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/0004_groupstyle.py +0 -0
  56. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__init__.py +0 -0
  57. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0001_initial.cpython-311.pyc +0 -0
  58. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0002_thread_view_count.cpython-311.pyc +0 -0
  59. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0003_alter_thread_options.cpython-311.pyc +0 -0
  60. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/0004_groupstyle.cpython-311.pyc +0 -0
  61. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/migrations/__pycache__/__init__.cpython-311.pyc +0 -0
  62. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/mixins.py +0 -0
  63. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/pagination.py +0 -0
  64. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/parsers.py +0 -0
  65. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/response.py +0 -0
  66. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/settings.py +0 -0
  67. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/signals.py +0 -0
  68. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/category-form.css +0 -0
  69. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/defaults.css +0 -0
  70. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/index.css +0 -0
  71. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/login.css +0 -0
  72. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/members.css +0 -0
  73. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/post-form.css +0 -0
  74. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/profile.css +0 -0
  75. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/punkweb-modal.css +0 -0
  76. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/punkweb.css +0 -0
  77. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/settings.css +0 -0
  78. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/shoutbox.css +0 -0
  79. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/subcategory-form.css +0 -0
  80. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/subcategory.css +0 -0
  81. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/thread-form.css +0 -0
  82. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/typography.css +0 -0
  83. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/css/variables.css +0 -0
  84. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-content.css +0 -0
  85. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor-tags.js +0 -0
  86. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.css +0 -0
  87. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/editor/bbcode-editor.js +0 -0
  88. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/favicon.ico +0 -0
  89. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/img/default-profile-image.png +0 -0
  90. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/js/punkweb-modal.js +0 -0
  91. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/js/shoutbox.js +0 -0
  92. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/htmx-1.9.4.min.js +0 -0
  93. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/jquery-3.7.0.min.js +0 -0
  94. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/open-color.css +0 -0
  95. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/prism.css +0 -0
  96. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/prism.js +0 -0
  97. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/README.md +0 -0
  98. {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
  99. {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
  100. {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
  101. {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
  102. {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
  103. {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
  104. {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
  105. {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
  106. {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
  107. {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
  108. {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
  109. {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
  110. {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
  111. {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
  112. {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
  113. {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
  114. {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
  115. {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
  116. {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
  117. {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
  118. {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
  119. {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
  120. {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
  121. {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
  122. {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
  123. {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
  124. {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
  125. {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
  126. {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
  127. {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
  128. {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
  129. {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
  130. {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
  131. {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
  132. {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
  133. {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
  134. {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
  135. {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
  136. {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
  137. {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
  138. {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
  139. {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
  140. {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
  141. {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
  142. {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
  143. {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
  144. {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
  145. {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
  146. {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
  147. {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
  148. {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
  149. {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
  150. {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
  151. {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
  152. {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
  153. {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
  154. {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
  155. {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
  156. {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
  157. {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
  158. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/static/punkweb_bb/vendor/sceditor-3.2.0/example.html +0 -0
  159. {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
  160. {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
  161. {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
  162. {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
  163. {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
  164. {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
  165. {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
  166. {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
  167. {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
  168. {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
  169. {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
  170. {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
  171. {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
  172. {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
  173. {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
  174. {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
  175. {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
  176. {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
  177. {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
  178. {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
  179. {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
  180. {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
  181. {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
  182. {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
  183. {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
  184. {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
  185. {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
  186. {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
  187. {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
  188. {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
  189. {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
  190. {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
  191. {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
  192. {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
  193. {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
  194. {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
  195. {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
  196. {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
  197. {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
  198. {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
  199. {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
  200. {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
  201. {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
  202. {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
  203. {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
  204. {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
  205. {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
  206. {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
  207. {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
  208. {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
  209. {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
  210. {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
  211. {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
  212. {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
  213. {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
  214. {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
  215. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/base.html +0 -0
  216. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/base_modal.html +0 -0
  217. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/bbcode.html +0 -0
  218. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/category_create.html +0 -0
  219. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/category_update.html +0 -0
  220. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/index.html +0 -0
  221. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/login.html +0 -0
  222. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/category_delete.html +0 -0
  223. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/post_delete.html +0 -0
  224. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/post_update.html +0 -0
  225. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/shout_delete.html +0 -0
  226. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/subcategory_delete.html +0 -0
  227. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/partials/thread_delete.html +0 -0
  228. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/settings.html +0 -0
  229. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/shoutbox/shoutbox.html +0 -0
  230. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/signup.html +0 -0
  231. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory_create.html +0 -0
  232. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/subcategory_update.html +0 -0
  233. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread_create.html +0 -0
  234. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templates/punkweb_bb/thread_update.html +0 -0
  235. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__init__.py +0 -0
  236. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/__init__.cpython-311.pyc +0 -0
  237. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_delete.cpython-311.pyc +0 -0
  238. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_edit.cpython-311.pyc +0 -0
  239. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/can_post.cpython-311.pyc +0 -0
  240. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/humanize_count.cpython-311.pyc +0 -0
  241. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/humanize_int.cpython-311.pyc +0 -0
  242. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/shoutbox_bbcode.cpython-311.pyc +0 -0
  243. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/styled_username.cpython-311.pyc +0 -0
  244. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/__pycache__/username.cpython-311.pyc +0 -0
  245. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_delete.py +0 -0
  246. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_edit.py +0 -0
  247. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/can_post.py +0 -0
  248. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/humanize_int.py +0 -0
  249. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/shoutbox_bbcode.py +0 -0
  250. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/templatetags/styled_username.py +0 -0
  251. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/tests.py +0 -0
  252. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/urls.py +0 -0
  253. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb/widgets.py +0 -0
  254. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/dependency_links.txt +0 -0
  255. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/not-zip-safe +0 -0
  256. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/requires.txt +0 -0
  257. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/punkweb_bb.egg-info/top_level.txt +0 -0
  258. {punkweb_bb-0.2.2 → punkweb_bb-0.2.3}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: punkweb_bb
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Django application that provides a simple and modern forum board software for your Django website.
5
5
  Home-page: https://github.com/Punkweb/PunkwebBB
6
6
  Author: Punkweb
@@ -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 + datetime.timedelta(minutes=5)
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
- .thread__user__usernameContainer {
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
- .thread__user__info {
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
- .thread__user__info__row {
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
- .thread__user__info__label {
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">{{user.date_joined | date:'m/d/Y'}}</span>
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">{{user.date_joined | date:'m/d/Y'}}</span>
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">{{user.last_login | date:'m/d/Y'}}</span>
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:
@@ -3,7 +3,7 @@
3
3
  {% for shout in shouts %}
4
4
  <div class="shoutbox__shout">
5
5
  <div class="shoutbox__shout__content">
6
- <span>{{shout.created_at|date:'g:i A'}}</span>
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:'M j, Y'}}</div>
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 styled_group_name %}
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">{{thread.created_at|date:'M d, Y'}}</div>
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="thread__user__info__row">
63
- <div class="thread__user__info__label">Joined:</div>
64
- <div class="thread__user__info__value">
65
- {{thread.user.date_joined|date:"M d, Y"}}
66
- </div>
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="thread__user__info__row">
69
- <div class="thread__user__info__label">Posts:</div>
70
- <div class="thread__user__info__value">{{thread.user.profile.post_count}}</div>
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
- {{group|styled_group_name}}
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">{{post.created_at|date:'M d, Y'}}</div>
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="thread__user__info__row">
175
- <div class="thread__user__info__label">Joined:</div>
176
- <div class="thread__user__info__value">
177
- {{post.user.date_joined|date:"M d, Y"}}
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="thread__user__info__row">
181
- <div class="thread__user__info__label">Posts:</div>
182
- <div class="thread__user__info__value">{{post.user.profile.post_count}}</div>
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
- {{group|styled_group_name}}
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">
@@ -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 get_group_name_styled
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(get_group_name_styled(group))
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 get_user_highest_priority_group(user):
22
- groups = Group.objects.filter(user=user, style__isnull=False)
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 = get_user_highest_priority_group(user)
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 get_group_name_styled(group):
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() - datetime.timedelta(hours=12)
499
+ created_at__gt=timezone.now() - timezone.timedelta(hours=12)
502
500
  ).order_by("created_at")
503
501
 
504
502
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: punkweb-bb
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Django application that provides a simple and modern forum board software for your Django website.
5
5
  Home-page: https://github.com/Punkweb/PunkwebBB
6
6
  Author: Punkweb
@@ -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
@@ -2,7 +2,7 @@ from setuptools import setup
2
2
 
3
3
  setup(
4
4
  name="punkweb_bb",
5
- version="0.2.2",
5
+ version="0.2.3",
6
6
  author="Punkweb",
7
7
  author_email="punkwebnet@gmail.com",
8
8
  packages=["punkweb_bb"],
File without changes
File without changes
File without changes