]>
jfr.im git - irc/unrealircd/unrealircd-webpanel.git/log
Valerie Pond [Thu, 19 Jan 2023 23:43:20 +0000 (23:43 +0000)]
Add blacklist options
This adds a new configuration item: `DNSBL`.
This is checked against non-logged in users on every page. If they are not logged in they get blacklist checked and then redirected to the login page, providing their IP was not blacklisted.
If it was blacklisted the user will be redirected to an error screen with a cute dog on it.
I have also spent a considerable amount of time trying (and failing) to make it look good on mobile devices, so this is a small commit ;)
Valerie Pond [Thu, 19 Jan 2023 15:45:33 +0000 (15:45 +0000)]
Update README about authentication plugin
Valerie Pond [Thu, 19 Jan 2023 12:16:20 +0000 (12:16 +0000)]
Users: add field to filter by server
Valerie Pond [Thu, 19 Jan 2023 10:17:12 +0000 (10:17 +0000)]
die
Valerie Pond [Thu, 19 Jan 2023 09:48:04 +0000 (09:48 +0000)]
Update config.php.sample
Valerie Pond [Thu, 19 Jan 2023 09:47:19 +0000 (09:47 +0000)]
Add some commenting
Valerie Pond [Thu, 19 Jan 2023 09:46:22 +0000 (09:46 +0000)]
Log a user out if their account no longer exists
Valerie Pond [Thu, 19 Jan 2023 01:28:38 +0000 (01:28 +0000)]
Hook a card into the overview about number of panel users
Valerie Pond [Thu, 19 Jan 2023 01:17:00 +0000 (01:17 +0000)]
Fix duplicate hooktype definition integer
Valerie Pond [Thu, 19 Jan 2023 01:05:52 +0000 (01:05 +0000)]
Get rid of a 'test'
Valerie Pond [Thu, 19 Jan 2023 01:05:00 +0000 (01:05 +0000)]
Allow passing and modification of the stats from plugins
Valerie Pond [Thu, 19 Jan 2023 00:58:29 +0000 (00:58 +0000)]
Fix crash from previous commit
Valerie Pond [Thu, 19 Jan 2023 00:56:52 +0000 (00:56 +0000)]
Add some more hooks: overview
Added HOOKTYPE_PRE_OVERVIEW_CARD and HOOKTYPE_OVERVIEW_CARD
This lets plugins use these hooks in order to add their own displays to the overview.
Valerie Pond [Wed, 18 Jan 2023 22:55:13 +0000 (22:55 +0000)]
Add ability to add and delete access to the panel
Beware, at this very commit, any user you add can delete any other user including you.
In case of this, you can always add yourself back through the config or delete their stuff in the SQL database.
Valerie Pond [Wed, 18 Jan 2023 22:53:23 +0000 (22:53 +0000)]
Convert array/splat parameter in class-message
Even though a splat operator converts the input to an array, if you pass an array instead of parameters, the first item in the splat array will be the array you need. This lets pass an array as well as a splat operator and it'll "just work"
Valerie Pond [Wed, 18 Jan 2023 15:16:03 +0000 (15:16 +0000)]
Merge pull request #7 from PeGaSuS-Coder/patch-1
Update header.php
PeGaSuS [Wed, 18 Jan 2023 14:30:30 +0000 (15:30 +0100)]
Update header.php
On my setup, I have `BASE_URL` set to `/`, using Apache as webserver.
If I click on the top left, where says `UnrealIRCd Admin Panel`, I'm sent to https://index.php/ which, obviously, doesn't exist.
Removing `/index.php` seems to solve the issue on my end. I don't know about other webservers/BASE_URL locations, but should work for all.
Valerie Pond [Wed, 18 Jan 2023 03:02:58 +0000 (03:02 +0000)]
Add more to access tab
Valerie Pond [Wed, 18 Jan 2023 01:18:47 +0000 (01:18 +0000)]
Some casual fixes
Valerie Pond [Tue, 17 Jan 2023 23:55:58 +0000 (23:55 +0000)]
Create the tables automatically on plugin-load
Valerie Pond [Tue, 17 Jan 2023 22:34:01 +0000 (22:34 +0000)]
Remove a yucky debugging item =]
Valerie Pond [Tue, 17 Jan 2023 22:30:44 +0000 (22:30 +0000)]
Add config entry in config.php.sample for SQL_DEFAULT_USER
This user will be created when you load the plugin "SQL_Auth"
Valerie Pond [Tue, 17 Jan 2023 22:27:32 +0000 (22:27 +0000)]
Allow adding a default user through the config
Valerie Pond [Tue, 17 Jan 2023 21:36:00 +0000 (21:36 +0000)]
Move some code around, add lookup by ID and get_current_user()
Valerie Pond [Tue, 17 Jan 2023 20:52:08 +0000 (20:52 +0000)]
Verify user against the SQL database
Valerie Pond [Tue, 17 Jan 2023 19:54:51 +0000 (19:54 +0000)]
More towards the sql_auth
Valerie Pond [Tue, 17 Jan 2023 17:48:14 +0000 (17:48 +0000)]
Add SQL config items to config sample
Valerie Pond [Tue, 17 Jan 2023 17:46:46 +0000 (17:46 +0000)]
Add the start of the SQL_Auth plugin
Valerie Pond [Tue, 17 Jan 2023 17:45:56 +0000 (17:45 +0000)]
Modules: Un-escape the "Official/Third-Party" label
Valerie Pond [Tue, 17 Jan 2023 17:45:04 +0000 (17:45 +0000)]
CModes: Fix a typo
Valerie Pond [Mon, 16 Jan 2023 17:40:45 +0000 (17:40 +0000)]
Show services bots in the users table again
Valerie Pond [Mon, 16 Jan 2023 14:18:30 +0000 (14:18 +0000)]
Merge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel
Valerie Pond [Mon, 16 Jan 2023 14:18:08 +0000 (14:18 +0000)]
shut up Lord255 - I can't see the error you point out
Bram Matthys [Mon, 16 Jan 2023 07:57:16 +0000 (08:57 +0100)]
Fix a bunch of XSS
Valerie Pond [Mon, 16 Jan 2023 07:25:21 +0000 (07:25 +0000)]
Remove weird config link from README =]
Bram Matthys [Mon, 16 Jan 2023 06:51:35 +0000 (07:51 +0100)]
User list: don't lookup sid but use a trick
(also not important to use sid here actually)
Valerie Pond [Mon, 16 Jan 2023 06:45:57 +0000 (06:45 +0000)]
Fix querying our uplink which has no uplink lol
Valerie Pond [Mon, 16 Jan 2023 06:45:15 +0000 (06:45 +0000)]
Finish adding rehash buttons to server and details pages with full outputs
Valerie Pond [Mon, 16 Jan 2023 06:44:13 +0000 (06:44 +0000)]
Update the template a little bit for Channel Details
Valerie Pond [Mon, 16 Jan 2023 06:43:24 +0000 (06:43 +0000)]
Add Message::Warning
Valerie Pond [Mon, 16 Jan 2023 06:07:18 +0000 (06:07 +0000)]
Add the start of channel details
Valerie Pond [Mon, 16 Jan 2023 05:30:08 +0000 (05:30 +0000)]
Fix previous commit
Valerie Pond [Mon, 16 Jan 2023 05:25:43 +0000 (05:25 +0000)]
Servers: Make ability to rehash selected servers
Valerie Pond [Mon, 16 Jan 2023 05:24:47 +0000 (05:24 +0000)]
Shorten Message notifications
Valerie Pond [Mon, 16 Jan 2023 05:22:38 +0000 (05:22 +0000)]
Add footer to login screen
Valerie Pond [Mon, 16 Jan 2023 03:16:17 +0000 (03:16 +0000)]
Make the beginnings of a login page
https://ibb.co/nP5dkLz
Valerie Pond [Mon, 16 Jan 2023 01:45:50 +0000 (01:45 +0000)]
bit more of a flashy background ;D
Valerie Pond [Mon, 16 Jan 2023 00:53:22 +0000 (00:53 +0000)]
Make servers always lookup by SID in case of weirdness
Valerie Pond [Mon, 16 Jan 2023 00:49:53 +0000 (00:49 +0000)]
Make tls certs in <code></code>
Valerie Pond [Mon, 16 Jan 2023 00:41:33 +0000 (00:41 +0000)]
Make some better links to filters for user
this puts links and lookups in places:
- You can now click the 'Opers' button on the overview to view the users page filtered by opers only
- Servers listed in user index and details now link to server details
Valerie Pond [Sun, 15 Jan 2023 23:49:30 +0000 (23:49 +0000)]
update overview and add record users
this converts things from a bunch of queries to the easier to use "stats.get" (thanks @syzop).
this also adds in a 'Record' label in the users card, showing the record user amount.
Valerie Pond [Sun, 15 Jan 2023 22:08:43 +0000 (22:08 +0000)]
Remove the 2's...
Valerie Pond [Sun, 15 Jan 2023 22:07:05 +0000 (22:07 +0000)]
Take 3 try to fix navbar highlighting
Valerie Pond [Sun, 15 Jan 2023 21:46:20 +0000 (21:46 +0000)]
Fix even more
Valerie Pond [Sun, 15 Jan 2023 21:39:11 +0000 (21:39 +0000)]
Try to fix active nav item highlighting
Valerie Pond [Sun, 15 Jan 2023 20:00:47 +0000 (20:00 +0000)]
Fully fix the problem
Valerie Pond [Sun, 15 Jan 2023 19:59:19 +0000 (19:59 +0000)]
Back to square one -.-
Valerie Pond [Sun, 15 Jan 2023 19:44:55 +0000 (19:44 +0000)]
Fix some table views
Turns out our custom css wasn't fully included in the header due to paths.
Fixed that, fixed a couple of missing ```</tr>```s and fixed 'select all' checkbox on servers tab
Valerie Pond [Sun, 15 Jan 2023 18:27:55 +0000 (18:27 +0000)]
Add transparency to tables nth-child
Bram Matthys [Sun, 15 Jan 2023 18:19:09 +0000 (19:19 +0100)]
Add a liitle more contrast?
Bram Matthys [Sun, 15 Jan 2023 17:35:27 +0000 (18:35 +0100)]
Update PHP8 instructions a little
Bram Matthys [Sun, 15 Jan 2023 09:14:10 +0000 (10:14 +0100)]
Update displaying of version in servers
Valerie Pond [Sat, 14 Jan 2023 23:46:56 +0000 (23:46 +0000)]
Add some badges
Valerie Pond [Sat, 14 Jan 2023 23:40:33 +0000 (23:40 +0000)]
Update with enticing description
Valerie Pond [Sat, 14 Jan 2023 21:47:17 +0000 (21:47 +0000)]
Allow clicking on peoples account in places to do a user search with the account filter
Valerie Pond [Sat, 14 Jan 2023 20:16:17 +0000 (20:16 +0000)]
servers tab: give tooltips on labels for release candidates and git versions
Bram Matthys [Sat, 14 Jan 2023 16:20:42 +0000 (17:20 +0100)]
Show more descriptive error instead of blank page when connection failed
to UnrealIRCd.
This requires one to update to latest unrealircd-rpc-php, end users will
need to run 'composer install'
Bram Matthys [Sat, 14 Jan 2023 15:09:39 +0000 (16:09 +0100)]
Funny, I had two instructions swapped in the README
Bram Matthys [Sat, 14 Jan 2023 15:07:55 +0000 (16:07 +0100)]
Update unrealircd-rpc-php deps. End users will need to run 'composer install'
Bram Matthys [Sat, 14 Jan 2023 15:07:04 +0000 (16:07 +0100)]
Remove vendor/ file that ended up in git even though it was in gitignore
Valerie Pond [Sat, 14 Jan 2023 09:38:22 +0000 (09:38 +0000)]
Servers: remove IP/host as they can never be accurately determined
Valerie Pond [Sat, 14 Jan 2023 08:13:11 +0000 (08:13 +0000)]
Merge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel
Valerie Pond [Sat, 14 Jan 2023 08:12:45 +0000 (08:12 +0000)]
Make "decorated" `server->server->features->software` in server tab
Valerie Pond [Sat, 14 Jan 2023 07:28:23 +0000 (07:28 +0000)]
Update README.md
Valerie Pond [Sat, 14 Jan 2023 07:24:47 +0000 (07:24 +0000)]
Update title of table
Valerie Pond [Sat, 14 Jan 2023 07:15:32 +0000 (07:15 +0000)]
Update some syntaxing
Valerie Pond [Sat, 14 Jan 2023 07:04:00 +0000 (07:04 +0000)]
Nearly finish the server details
Valerie Pond [Sat, 14 Jan 2023 03:30:26 +0000 (03:30 +0000)]
Make the start of modules listing
Valerie Pond [Sat, 14 Jan 2023 01:30:54 +0000 (01:30 +0000)]
the same for lookup pages
Valerie Pond [Sat, 14 Jan 2023 01:26:40 +0000 (01:26 +0000)]
make tables look smaller and cleaner
Valerie Pond [Fri, 13 Jan 2023 23:46:20 +0000 (23:46 +0000)]
Update some labelling
Bram Matthys [Fri, 13 Jan 2023 08:16:40 +0000 (09:16 +0100)]
Server bans: don't list checkmark (for deletion) for config based bans,
and this also improves on just-committed unrealircd RPC response for
TKL to detect config based bans through $tkl->set_in_config (true).
Kept the old way too though, for 6.0.5 compatibility.
Bram Matthys [Fri, 13 Jan 2023 08:04:35 +0000 (09:04 +0100)]
Use new $server->server->ulined property and show [Services] in
"Servers overview" for ulines. Or should it show u-lines? Nah.. ? Dunno :p
Bram Matthys [Fri, 13 Jan 2023 07:13:19 +0000 (08:13 +0100)]
Servers view: Show Users, Version, Up since
Bram Matthys [Fri, 13 Jan 2023 07:03:49 +0000 (08:03 +0100)]
Servers: Just a silly mass-replace for now like nick->server and so on,
since 'details' is work in progres by Valware :].
Bram Matthys [Fri, 13 Jan 2023 06:59:54 +0000 (07:59 +0100)]
Remove "Secure" from server list. This because there is not really a
concept of a "secure" server so to say... as one server link to it
could be SSL/TLS (secure) and the other could be not (being plaintext).
I think it's a bit too complex for a list overview.
Bram Matthys [Fri, 13 Jan 2023 06:57:49 +0000 (07:57 +0100)]
Fix for previous.
Bram Matthys [Fri, 13 Jan 2023 06:55:36 +0000 (07:55 +0100)]
"Network" -> "Servers"
Valerie Pond [Fri, 13 Jan 2023 03:44:21 +0000 (03:44 +0000)]
Play with alert messages
Valerie Pond [Fri, 13 Jan 2023 03:10:16 +0000 (03:10 +0000)]
fix a required file path for conformity
Valerie Pond [Fri, 13 Jan 2023 03:09:11 +0000 (03:09 +0000)]
Try to make spanning look better :/
Valerie Pond [Fri, 13 Jan 2023 03:08:24 +0000 (03:08 +0000)]
Properly include the js file globally
Valerie Pond [Fri, 13 Jan 2023 03:07:40 +0000 (03:07 +0000)]
Remove some old css
Valerie Pond [Fri, 13 Jan 2023 02:42:09 +0000 (02:42 +0000)]
Add channels+level view to users detail page
Valerie Pond [Fri, 13 Jan 2023 01:06:31 +0000 (01:06 +0000)]
Add the footer back
Valerie Pond [Thu, 12 Jan 2023 23:42:44 +0000 (23:42 +0000)]
Adjust overview top margin
Valerie Pond [Thu, 12 Jan 2023 23:41:19 +0000 (23:41 +0000)]
Some visual enhancements
Updated overview, enhanced tables by making them containers
Valerie Pond [Thu, 12 Jan 2023 21:33:22 +0000 (21:33 +0000)]
Fix header referencing to overview from other directories
Valerie Pond [Thu, 12 Jan 2023 21:28:29 +0000 (21:28 +0000)]
Update the color scheme a bit more
Valerie Pond [Thu, 12 Jan 2023 21:19:48 +0000 (21:19 +0000)]
Update overview