354 Commits

Author SHA1 Message Date
cfe7962f14 Filter model and api 2024-04-30 01:11:47 +01:00
7b2999fb81 Completed channels integration 2024-04-29 11:42:34 +01:00
4b6cbbcc12 Alter CSS for select2 multiple choices
So that the 'x' button to remove a selected choice, matches the select2 theme.
2024-04-28 16:07:53 +01:00
c1b1050b30 Move the channels select above the extra notes textarea 2024-04-28 16:06:53 +01:00
43664f57df Fixed unique constraint issue for subchannel model
Subchannel unique constraint now applies to a matching pair of channel_id and subscription, oppose to the previous constraint; unique subscription only.
2024-04-28 16:06:24 +01:00
71e6e5c603 Select2 css to follow current theme
Updated the select2 css to follow the current bootstrap 5.3 colour theme.

light or dark.
2024-04-28 15:42:16 +01:00
31093a38de Edit/Create text for the subscription modal
Text changes based on editing existing subscription, or creating a new one.

Title and submit button label is the only text currently changed with this commit.
2024-04-28 15:41:39 +01:00
cba99c17f3 changed index js load order
Before, the server options were loaded first, meaning other js functions couldnt execute until the discord api call was completed, now this is done last.
2024-04-28 15:40:35 +01:00
14167e05be Added SubChannels backend
SubChannels are target discord channels for subscriptions to send their content into.
2024-04-28 15:39:27 +01:00
4177e8cecd Clean up the server modal css 2024-04-26 23:28:12 +01:00
001f586ceb Init all select2 2024-04-26 23:27:54 +01:00
990229f3b2 Implement tooltips for the serverlist 2024-04-26 23:27:39 +01:00
f6bf8c85e8 Fix incorrect variable name 2024-04-26 23:27:23 +01:00
3808630e4d Subs authorisation implementation 2024-04-26 23:27:01 +01:00
c4145721cf Fixing the broken select2 (add server modal) 2024-04-26 23:26:36 +01:00
da5e76278b proper disabled states for select all and delete btns
delete row(s) button is no longer enabled when 'select all' rows is checked, while there are no rows.

'select all' is now disabled when there are no rows.
2024-04-26 11:47:55 +01:00
726b8f8c3f Add borders and update colours & icons 2024-04-26 11:46:50 +01:00
15e4d4c503 Add footer, remove ugly background 2024-04-26 11:46:16 +01:00
f97fd13ffd fix animation mistake
guilds icons would appear unselected on focus loss, because of a previous classname change that wasnt updated in the css.
2024-04-26 11:45:41 +01:00
4b3f21a2b7 fix delete button being accessible with no selections 2024-04-26 01:17:27 +01:00
0d18cbb935 Fix link colours 2024-04-26 01:13:09 +01:00
9b7b2ebf6e Fix #12 2024-04-26 01:10:06 +01:00
c0db79d51c Editing existing subscription 2024-04-26 01:09:44 +01:00
8b572eba46 added edit function for subscriptions 2024-04-26 01:08:47 +01:00
d229868b95 Delete UserServerLink 2024-04-26 01:08:22 +01:00
964323eb8a Added Doctype ??
This was missing??
2024-04-26 01:07:35 +01:00
aa5a75e58a incorrect variable name? fixed
how did this happen?
2024-04-25 15:04:31 +01:00
fcdbf0fde4 Active checkbox replaced with switch & refresh on new sub 2024-04-25 15:04:10 +01:00
c4fb8d5c38 Spacing around table action buttons 2024-04-25 15:03:16 +01:00
7250511c43 styling for subscription modal 2024-04-25 15:03:04 +01:00
79a8532f8f disable table select all rows on server change 2024-04-24 17:26:55 +01:00
397e02aa42 subscriptions loaded per guild 2024-04-24 16:00:12 +01:00
a7dfc042a6 Migrations for updated subscription model (old ones broke) 2024-04-24 15:59:47 +01:00
5a4980dbbe changed what is logged 2024-04-24 15:59:02 +01:00
8cf077d280 Updated subscription model 2024-04-24 15:58:46 +01:00
639dbee04f Added basic modal controls for adding subscriptions 2024-04-24 15:57:58 +01:00
87170792c1 added event for selected server change 2024-04-24 15:57:27 +01:00
c788cedb7a Fix overflow bug with table on small screens 2024-04-24 15:56:40 +01:00
b5e50031ab Different Background Style 2024-04-24 15:55:45 +01:00
5c487aae8b Table css styling 2024-04-24 10:25:17 +01:00
6a7b3725c9 Add table interaction buttons 2024-04-24 10:25:01 +01:00
838794f321 functional logout button 2024-04-24 10:24:30 +01:00
3531a47b68 indeterminate select-all checkbox 2024-04-24 10:23:45 +01:00
aca4a65a73 Merge branch 'main' of https://gitea.corbz.dev/corbz/PYRSS-Website 2024-04-24 09:27:23 +01:00
319d8d59de selectRow checkboxes 2024-04-24 09:26:27 +01:00
accc2064da non-functional sub modal 2024-04-23 23:33:10 +01:00
12db49c4f7 header checkbox 2024-04-23 23:32:44 +01:00
7be8bc936a removed unique guild id constraint 2024-04-23 20:59:31 +01:00
1c79433535 working on sub datatable 2024-04-23 20:59:11 +01:00
30780e81b3 Split javascript components into files for home 2024-04-23 10:18:27 +01:00