Commit Graph

16 Commits

Author SHA1 Message Date
fb61239147 Add JSFrame implementation for report window
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-25 21:05:31 -07:00
5239ec028d Remove winbox.js CSS rules
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-25 20:56:13 -07:00
e596d59e82 Trying out JSFrame for windows
Winbox has this annoying bug where you can't move the window below the
calculated area of the document, so you can't drag it over blank space.
JSFrame fixes this and does basically what we want as well. This has
been implemented for post replies and I am going to implement it for
reports and ban creation too.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-25 20:42:10 -07:00
1f994dca3e Remove single line comment
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 23:01:05 -07:00
024f0c1290 Move openBanWindow to its own separate file
It is now shared between the admin view and the inline view.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 22:58:31 -07:00
4c5d8cee2a Add color vars to style.css and some winbox stuff
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 22:57:56 -07:00
8f9b27d5be Update order of the menu items
Report item gets added first in the menu now.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 22:30:56 -07:00
647aedfc67 Add in-line ban capabilities
Anyone with the ability to create bans can now do so via the drop down
menu on all posts.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 22:27:26 -07:00
470a10d2a7 Add ability to create bans from reports
This is done in the admin view and opens a new iframed window. The ban
form is pretty barebones and doesn't have full functionality yet, but
that is coming.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-23 16:03:09 -07:00
b838663d50 Add preliminary report system
The report system is pretty low-tech. However the scaffolding is there
for a lot of new stuff. What we currently have:

* Users can create reports
* Staff can view reports
* Admins can create report templates

There's a post drop-down menu available on all posts now, too. This is
where "report post" menu item lives and other things like that can be
added too.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-06-14 14:56:50 -07:00
0fd40d5d3d Add winbox.bundle.js
I hope this library is sufficient for our needs

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 17:47:26 -07:00
994e4904a6 Add page count and links to bottom of board view
Current page shows up on the bottom of every board with next/prev links
where applicable.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-07 15:14:50 -07:00
e9585544d5 Add underline back to links in the style
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-06 21:59:45 -07:00
6ed47f9957 Add max image upload size limit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-04 21:14:00 -07:00
e6c60ff93c Add image upload support
Images can be uploaded, thumbnails are created, they're displayed within
the threads themselves. Just like four chans!

There is not an upload size limit set yet. Gotta get on that next.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-04 19:45:36 -07:00
126db039e2 Initial commit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:04 -07:00