]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/log
irc/unrealircd/unrealircd-webpanel.git
16 months agoAdd general checkbox selector javascript
Valerie Pond [Sat, 4 Feb 2023 21:41:06 +0000 (21:41 +0000)] 
Add general checkbox selector javascript

16 months agoFix some visuals on inputbar
Valerie Pond [Sat, 4 Feb 2023 21:40:24 +0000 (21:40 +0000)] 
Fix some visuals on inputbar

16 months agoAllow adding/removing of ban exceptions
Valerie Pond [Sat, 4 Feb 2023 21:38:45 +0000 (21:38 +0000)] 
Allow adding/removing of ban exceptions

16 months agoAdd the start of listing users (unfinished)
Valerie Pond [Sat, 4 Feb 2023 19:51:08 +0000 (19:51 +0000)] 
Add the start of listing users (unfinished)

16 months agoAdd functions for listing bans/invites/exceptions and user list
Valerie Pond [Sat, 4 Feb 2023 19:50:03 +0000 (19:50 +0000)] 
Add functions for listing bans/invites/exceptions and user list

16 months agoMake some filter search boxes look better since we've "fixed" prev css
Valerie Pond [Sat, 4 Feb 2023 19:37:00 +0000 (19:37 +0000)] 
Make some filter search boxes look better since we've "fixed" prev css

16 months agoMove topic notif underneath topic area
Valerie Pond [Sat, 4 Feb 2023 18:52:14 +0000 (18:52 +0000)] 
Move topic notif underneath topic area

16 months agoAllow updating the channel topic from channels/details.php
Valerie Pond [Sat, 4 Feb 2023 18:47:13 +0000 (18:47 +0000)] 
Allow updating the channel topic from channels/details.php

16 months agoFix highlight overspill in some places
Valerie Pond [Sat, 4 Feb 2023 17:36:51 +0000 (17:36 +0000)] 
Fix highlight overspill in some places

This was caused by an apparently incorrect placement of our css

16 months agoAdd footer to servers/details.php
Valerie Pond [Sat, 4 Feb 2023 16:59:11 +0000 (16:59 +0000)] 
Add footer to servers/details.php

16 months agoRedirect back on login
Valerie Pond [Sat, 4 Feb 2023 16:44:12 +0000 (16:44 +0000)] 
Redirect back on login

This makes it so that when your session times out and you are redirected to the login page, you will be redirected back to the page you were on before you were logged out.

16 months agoSimplify communication by saying we require UnrealIRCd 6.0.6.
Bram Matthys [Sat, 4 Feb 2023 12:42:03 +0000 (13:42 +0100)] 
Simplify communication by saying we require UnrealIRCd 6.0.6.
Anyone wanting to really try the webpanel should not be using 6.0.5.

16 months agoMake images on overview cards vertically centered
Valerie Pond [Sat, 4 Feb 2023 12:36:51 +0000 (12:36 +0000)] 
Make images on overview cards vertically centered

16 months agoUpdate unrealircd-admin.css 9/head
Madriix [Sat, 4 Feb 2023 12:25:07 +0000 (13:25 +0100)] 
Update unrealircd-admin.css

Allows to vertically center the small thumbnails on the prettier home page.
Force refresh the page/css without deleting the cache: CTRL + F5

16 months agoMerge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel
Valerie Pond [Sat, 4 Feb 2023 12:08:37 +0000 (12:08 +0000)] 
Merge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel

16 months agoMerge pull request #8 from Madriix/patch-1
Valerie Pond [Sat, 4 Feb 2023 12:03:21 +0000 (12:03 +0000)] 
Merge pull request #8 from Madriix/patch-1

Update unrealircd-admin.css to fix incorrect width on a div which was causing the width of the page to be large enough to cause a horizontal scrollbar.

16 months agoUpdate unrealircd-admin.css 8/head
Madriix [Sat, 4 Feb 2023 11:59:32 +0000 (12:59 +0100)] 
Update unrealircd-admin.css

Tested on Firefox: as soon as we are on any page, there is the scrollbar activated at the bottom of page.
The div that could pose a problem is the div that contains the nav tag with the "container-fluid" class, the default bootstrap contains a width: 100% and this width when it is removed the scrollbar is removed.
This css disables/resets the width. It seems to work pretty well on my Firefox browser.

16 months agoMerge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel
Valerie Pond [Sat, 4 Feb 2023 11:38:04 +0000 (11:38 +0000)] 
Merge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel

16 months agoMore warnings regarding unrestricted access
Bram Matthys [Fri, 3 Feb 2023 08:01:58 +0000 (09:01 +0100)] 
More warnings regarding unrestricted access

16 months agoAdd spamfilter screenshot (attempt 1 anyway)
Bram Matthys [Fri, 3 Feb 2023 07:50:07 +0000 (08:50 +0100)] 
Add spamfilter screenshot (attempt 1 anyway)

16 months agocolor coordinate channel bans/invites/excepts buttons
Valerie Pond [Fri, 3 Feb 2023 06:55:51 +0000 (06:55 +0000)] 
color coordinate channel bans/invites/excepts buttons

16 months agosql: Some further checking on sessions
Valerie Pond [Fri, 3 Feb 2023 06:52:59 +0000 (06:52 +0000)] 
sql: Some further checking on sessions

16 months agoWork on the start of channel details (lists: ban, invite, except)
Valerie Pond [Fri, 3 Feb 2023 06:51:55 +0000 (06:51 +0000)] 
Work on the start of channel details (lists: ban, invite, except)

Todo:
list users and actions to apply to them

17 months agoStart of sql user info page
Valerie Pond [Wed, 1 Feb 2023 14:03:26 +0000 (14:03 +0000)] 
Start of sql user info page

17 months agoLarge cosmetics update
Valerie Pond [Wed, 1 Feb 2023 14:02:32 +0000 (14:02 +0000)] 
Large cosmetics update

- Cosmetics update
- Added "Check for upgrades" button
- Added SQL user permissions adding/deletion (still wip)

17 months agoRemove showing exceptions in the server bans list
Valerie Pond [Tue, 24 Jan 2023 14:16:38 +0000 (14:16 +0000)] 
Remove showing exceptions in the server bans list

17 months agoOverview buttons fully operational
Valerie Pond [Tue, 24 Jan 2023 04:09:56 +0000 (04:09 +0000)] 
Overview buttons fully operational

17 months agoCreate CODE_OF_CONDUCT.md
Valerie Pond [Tue, 24 Jan 2023 01:59:36 +0000 (01:59 +0000)] 
Create CODE_OF_CONDUCT.md

17 months agoUpdate feature_request.md
Valerie Pond [Tue, 24 Jan 2023 01:40:47 +0000 (01:40 +0000)] 
Update feature_request.md

17 months agoAdd Bug Report and Feature Request templates
Valerie Pond [Tue, 24 Jan 2023 01:39:47 +0000 (01:39 +0000)] 
Add Bug Report and Feature Request templates

17 months agoUpdate readme with some nice pics of the new mobile compat
Valerie Pond [Tue, 24 Jan 2023 00:07:04 +0000 (00:07 +0000)] 
Update readme with some nice pics of the new mobile compat

17 months agoRather large update, please see commit notes
Valerie Pond [Mon, 23 Jan 2023 23:54:48 +0000 (23:54 +0000)] 
Rather large update, please see commit notes

With this update:
- WebPanel version shows in the footer for logged-in users (sql_auth)
- Made things look much better on mobiles; before, the navigation bar covered most of the mobile screen and was generally not visually appealing. So now when the screen is a mobile, the navigation bar will collapse into a collapsible menu.
- Separated `Name Bans` and `Server Ban Exceptions` into their own sub-menu pages. TODO: There is some weird overlap with the list background highlight.
-Started on user_meta: as in, when they last logged in, what IP they are using or used, recent actions taken, and most importantly, permissions.
- Added a few hooks which allow plugins to do more:
  - `HOOKTYPE_PRE_HEADER`
  - `HOOKTYPE_HEADER`
  - `HOOKTYPE_PRE_FOOTER`
  - `HOOKTYPE_FOOTER`

These hooks are relatively self-explanatory. There is however another hook of a different nature.

- `HOOKTYPE_NOTIFICATION`
You will need to run this from your plugin as well as catch functions from it. This won't be run many places in the source so it's up to you to send notifications. Maybe some other plugin wants to show notifications somewhere else or do something different, while still being able to load your plugin and receive notifications for it, and vice versa.

17 months agoMake a start on filtering for later
Valerie Pond [Sun, 22 Jan 2023 15:04:18 +0000 (15:04 +0000)] 
Make a start on filtering for later

17 months agovarious: Check variable existence
Valerie Pond [Sun, 22 Jan 2023 10:26:45 +0000 (10:26 +0000)] 
various: Check variable existence

17 months agoSometimes users do not have an IP due to being pseudobots or whatever
Valerie Pond [Sun, 22 Jan 2023 01:00:09 +0000 (01:00 +0000)] 
Sometimes users do not have an IP due to being pseudobots or whatever

17 months agoCorrect a variable existence warning. Reported by @Noisytoot
Valerie Pond [Sun, 22 Jan 2023 00:46:25 +0000 (00:46 +0000)] 
Correct a variable existence warning. Reported by @Noisytoot

17 months agoIP WHOIS: Make the values field wider
Valerie Pond [Sun, 22 Jan 2023 00:45:42 +0000 (00:45 +0000)] 
IP WHOIS: Make the values field wider

17 months agoIPWHOIS: Make 'view raw' button not lean so much against the search bar
Valerie Pond [Sat, 21 Jan 2023 23:58:05 +0000 (23:58 +0000)] 
IPWHOIS: Make 'view raw' button not lean so much against the search bar

17 months agoIP WHOIS: Add a built-in IP WHOIS page
Valerie Pond [Sat, 21 Jan 2023 23:54:12 +0000 (23:54 +0000)] 
IP WHOIS: Add a built-in IP WHOIS page

This adds `ip-whois.php` and friends which provides a built-in page for doing a `WHOIS` on an IP address. No more having to go to some IP WHOIS website to view information about potentially spooky characters on your network ;)

17 months agofilter user list by services, don't show insecure label for localhost
Valerie Pond [Sat, 21 Jan 2023 02:32:14 +0000 (02:32 +0000)] 
filter user list by services, don't show insecure label for localhost

17 months agoCater for unix domain socket mysql connections
Valerie Pond [Fri, 20 Jan 2023 23:25:21 +0000 (23:25 +0000)] 
Cater for unix domain socket mysql connections

17 months agoset a cookie to make the session last 1h instead of 24m
Valerie Pond [Fri, 20 Jan 2023 22:03:02 +0000 (22:03 +0000)] 
set a cookie to make the session last 1h instead of 24m

17 months agoFix ndentation on sql_auth's login.php
Valerie Pond [Fri, 20 Jan 2023 22:01:31 +0000 (22:01 +0000)] 
Fix ndentation on sql_auth's login.php

17 months agoIndentate
Valerie Pond [Fri, 20 Jan 2023 21:04:26 +0000 (21:04 +0000)] 
Indentate

17 months agoWait until tables have been built and we have a successful session
Valerie Pond [Fri, 20 Jan 2023 20:44:24 +0000 (20:44 +0000)] 
Wait until tables have been built and we have a successful session

17 months agoFix login bug where it wouldn't redirect to the login page if you weren't logged...
Valerie Pond [Fri, 20 Jan 2023 06:13:48 +0000 (06:13 +0000)] 
Fix login bug where it wouldn't redirect to the login page if you weren't logged in :$

17 months agoForgot to push `SQL/user.php` =]
Valerie Pond [Thu, 19 Jan 2023 23:44:57 +0000 (23:44 +0000)] 
Forgot to push `SQL/user.php` =]

17 months agoAdd blacklist options
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 ;)

17 months agoUpdate README about authentication plugin
Valerie Pond [Thu, 19 Jan 2023 15:45:33 +0000 (15:45 +0000)] 
Update README about authentication plugin

17 months agoUsers: add field to filter by server
Valerie Pond [Thu, 19 Jan 2023 12:16:20 +0000 (12:16 +0000)] 
Users: add field to filter by server

17 months agodie
Valerie Pond [Thu, 19 Jan 2023 10:17:12 +0000 (10:17 +0000)] 
die

17 months agoUpdate config.php.sample
Valerie Pond [Thu, 19 Jan 2023 09:48:04 +0000 (09:48 +0000)] 
Update config.php.sample

17 months agoAdd some commenting
Valerie Pond [Thu, 19 Jan 2023 09:47:19 +0000 (09:47 +0000)] 
Add some commenting

17 months agoLog a user out if their account no longer exists
Valerie Pond [Thu, 19 Jan 2023 09:46:22 +0000 (09:46 +0000)] 
Log a user out if their account no longer exists

17 months agoHook a card into the overview about number of panel users
Valerie Pond [Thu, 19 Jan 2023 01:28:38 +0000 (01:28 +0000)] 
Hook a card into the overview about number of panel users

17 months agoFix duplicate hooktype definition integer
Valerie Pond [Thu, 19 Jan 2023 01:17:00 +0000 (01:17 +0000)] 
Fix duplicate hooktype definition integer

17 months agoGet rid of a 'test'
Valerie Pond [Thu, 19 Jan 2023 01:05:52 +0000 (01:05 +0000)] 
Get rid of a 'test'

17 months agoAllow passing and modification of the stats from plugins
Valerie Pond [Thu, 19 Jan 2023 01:05:00 +0000 (01:05 +0000)] 
Allow passing and modification of the stats from plugins

17 months agoFix crash from previous commit
Valerie Pond [Thu, 19 Jan 2023 00:58:29 +0000 (00:58 +0000)] 
Fix crash from previous commit

17 months agoAdd some more hooks: overview
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.

17 months agoAdd ability to add and delete access to the panel
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.

17 months agoConvert array/splat parameter in class-message
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"

17 months agoMerge pull request #7 from PeGaSuS-Coder/patch-1
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

17 months agoUpdate header.php 7/head
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.

17 months agoAdd more to access tab
Valerie Pond [Wed, 18 Jan 2023 03:02:58 +0000 (03:02 +0000)] 
Add more to access tab

17 months agoSome casual fixes
Valerie Pond [Wed, 18 Jan 2023 01:18:47 +0000 (01:18 +0000)] 
Some casual fixes

17 months agoCreate the tables automatically on plugin-load
Valerie Pond [Tue, 17 Jan 2023 23:55:58 +0000 (23:55 +0000)] 
Create the tables automatically on plugin-load

17 months agoRemove a yucky debugging item =]
Valerie Pond [Tue, 17 Jan 2023 22:34:01 +0000 (22:34 +0000)] 
Remove a yucky debugging item =]

17 months agoAdd config entry in config.php.sample for SQL_DEFAULT_USER
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"

17 months agoAllow adding a default user through the config
Valerie Pond [Tue, 17 Jan 2023 22:27:32 +0000 (22:27 +0000)] 
Allow adding a default user through the config

17 months agoMove some code around, add lookup by ID and get_current_user()
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()

17 months agoVerify user against the SQL database
Valerie Pond [Tue, 17 Jan 2023 20:52:08 +0000 (20:52 +0000)] 
Verify user against the SQL database

17 months agoMore towards the sql_auth
Valerie Pond [Tue, 17 Jan 2023 19:54:51 +0000 (19:54 +0000)] 
More towards the sql_auth

17 months agoAdd SQL config items to config sample
Valerie Pond [Tue, 17 Jan 2023 17:48:14 +0000 (17:48 +0000)] 
Add SQL config items to config sample

17 months agoAdd the start of the SQL_Auth plugin
Valerie Pond [Tue, 17 Jan 2023 17:46:46 +0000 (17:46 +0000)] 
Add the start of the SQL_Auth plugin

17 months agoModules: Un-escape the "Official/Third-Party" label
Valerie Pond [Tue, 17 Jan 2023 17:45:56 +0000 (17:45 +0000)] 
Modules: Un-escape the "Official/Third-Party" label

17 months agoCModes: Fix a typo
Valerie Pond [Tue, 17 Jan 2023 17:45:04 +0000 (17:45 +0000)] 
CModes: Fix a typo

17 months agoShow services bots in the users table again
Valerie Pond [Mon, 16 Jan 2023 17:40:45 +0000 (17:40 +0000)] 
Show services bots in the users table again

17 months agoMerge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel
Valerie Pond [Mon, 16 Jan 2023 14:18:30 +0000 (14:18 +0000)] 
Merge branch 'main' of https://github.com/unrealircd/unrealircd-webpanel

17 months agoshut up Lord255 - I can't see the error you point out
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

17 months agoFix a bunch of XSS
Bram Matthys [Mon, 16 Jan 2023 07:57:16 +0000 (08:57 +0100)] 
Fix a bunch of XSS

17 months agoRemove weird config link from README =]
Valerie Pond [Mon, 16 Jan 2023 07:25:21 +0000 (07:25 +0000)] 
Remove weird config link from README =]

17 months agoUser list: don't lookup sid but use a trick
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)

17 months agoFix querying our uplink which has no uplink lol
Valerie Pond [Mon, 16 Jan 2023 06:45:57 +0000 (06:45 +0000)] 
Fix querying our uplink which has no uplink lol

17 months agoFinish adding rehash buttons to server and details pages with full outputs
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

17 months agoUpdate the template a little bit for Channel Details
Valerie Pond [Mon, 16 Jan 2023 06:44:13 +0000 (06:44 +0000)] 
Update the template a little bit for Channel Details

17 months agoAdd Message::Warning
Valerie Pond [Mon, 16 Jan 2023 06:43:24 +0000 (06:43 +0000)] 
Add Message::Warning

17 months agoAdd the start of channel details
Valerie Pond [Mon, 16 Jan 2023 06:07:18 +0000 (06:07 +0000)] 
Add the start of channel details

17 months agoFix previous commit
Valerie Pond [Mon, 16 Jan 2023 05:30:08 +0000 (05:30 +0000)] 
Fix previous commit

17 months agoServers: Make ability to rehash selected servers
Valerie Pond [Mon, 16 Jan 2023 05:25:43 +0000 (05:25 +0000)] 
Servers: Make ability to rehash selected servers

17 months agoShorten Message notifications
Valerie Pond [Mon, 16 Jan 2023 05:24:47 +0000 (05:24 +0000)] 
Shorten Message notifications

17 months agoAdd footer to login screen
Valerie Pond [Mon, 16 Jan 2023 05:22:38 +0000 (05:22 +0000)] 
Add footer to login screen

17 months agoMake the beginnings of a login page
Valerie Pond [Mon, 16 Jan 2023 03:16:17 +0000 (03:16 +0000)] 
Make the beginnings of a login page

https://ibb.co/nP5dkLz

17 months agobit more of a flashy background ;D
Valerie Pond [Mon, 16 Jan 2023 01:45:50 +0000 (01:45 +0000)] 
bit more of a flashy background ;D

17 months agoMake servers always lookup by SID in case of weirdness
Valerie Pond [Mon, 16 Jan 2023 00:53:22 +0000 (00:53 +0000)] 
Make servers always lookup by SID in case of weirdness

17 months agoMake tls certs in <code></code>
Valerie Pond [Mon, 16 Jan 2023 00:49:53 +0000 (00:49 +0000)] 
Make tls certs in <code></code>

17 months agoMake some better links to filters for user
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

17 months agoupdate overview and add record users
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.

17 months agoRemove the 2's...
Valerie Pond [Sun, 15 Jan 2023 22:08:43 +0000 (22:08 +0000)] 
Remove the 2's...

17 months agoTake 3 try to fix navbar highlighting
Valerie Pond [Sun, 15 Jan 2023 22:07:05 +0000 (22:07 +0000)] 
Take 3 try to fix navbar highlighting