]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/log
irc/unrealircd/unrealircd-webpanel.git
14 months agoMove to new style config, with config in config/ directory.
Bram Matthys [Tue, 11 Apr 2023 17:30:56 +0000 (19:30 +0200)] 
Move to new style config, with config in config/ directory.
There is currently a compatibility layer so existing installs
don't have to update their config.php per se... although that
won't be around forever ;)

14 months agojavascript function to generate a new toast notification
Valerie Pond [Tue, 11 Apr 2023 17:14:05 +0000 (18:14 +0100)] 
javascript function to generate a new toast notification

14 months agochannel/details Add a note in for blank Ban Type
Valerie Pond [Tue, 11 Apr 2023 17:13:29 +0000 (18:13 +0100)] 
channel/details Add a note in for blank Ban Type

14 months agoUpgrade bootstrap and fix an $active_page err
Valerie Pond [Tue, 11 Apr 2023 17:12:40 +0000 (18:12 +0100)] 
Upgrade bootstrap and fix an $active_page err

14 months agotry to make the users table look better on mobile devices
Valerie Pond [Tue, 11 Apr 2023 17:11:58 +0000 (18:11 +0100)] 
try to make the users table look better on mobile devices

not really working well at the moment, but I'm on it

14 months agobeginnings of api/notification
Valerie Pond [Tue, 11 Apr 2023 00:12:40 +0000 (01:12 +0100)] 
beginnings of api/notification

14 months agoLogin: add basic front-end validation
Valerie Pond [Tue, 11 Apr 2023 00:10:52 +0000 (01:10 +0100)] 
Login: add basic front-end validation

14 months agoUpdate to latest unrealircd-rpc-php. End users: 'composer install'
Bram Matthys [Mon, 10 Apr 2023 17:32:00 +0000 (19:32 +0200)] 
Update to latest unrealircd-rpc-php. End users: 'composer install'

14 months agoRemove "Top countries" for now, maybe add it somewhere else later though.
Bram Matthys [Sun, 9 Apr 2023 17:21:57 +0000 (19:21 +0200)] 
Remove "Top countries" for now, maybe add it somewhere else later though.

14 months agoMerge pull request #20 from Madriix/main
Valerie Pond [Sun, 9 Apr 2023 17:16:26 +0000 (18:16 +0100)] 
Merge pull request #20 from Madriix/main

Update index.php

14 months agoadded top country 20/head
Madriix [Sun, 9 Apr 2023 17:08:53 +0000 (19:08 +0200)] 
added top country

14 months agoEdit channel settings grouping. Eg: Join restrictions, Message restrictions, ..
Bram Matthys [Sun, 9 Apr 2023 16:58:16 +0000 (18:58 +0200)] 
Edit channel settings grouping. Eg: Join restrictions, Message restrictions, ..

14 months agoLeft-nav: adjust vertical space, use Bold for main items, make it less white.
Bram Matthys [Sun, 9 Apr 2023 16:54:28 +0000 (18:54 +0200)] 
Left-nav: adjust vertical space, use Bold for main items, make it less white.

14 months agoAttempt 2.. or am i making it worse? :D
Bram Matthys [Sun, 9 Apr 2023 16:19:23 +0000 (18:19 +0200)] 
Attempt 2.. or am i making it worse? :D

14 months agoLeftnav: let's try this...
Bram Matthys [Sun, 9 Apr 2023 16:16:27 +0000 (18:16 +0200)] 
Leftnav: let's try this...

14 months agoLeftnav subitems fun
Bram Matthys [Sun, 9 Apr 2023 15:36:10 +0000 (17:36 +0200)] 
Leftnav subitems fun

14 months agoAdd the sidenav and move menu to it
Valerie Pond [Sun, 9 Apr 2023 14:17:14 +0000 (15:17 +0100)] 
Add the sidenav and move menu to it

14 months agofix the icon in footer not showing
Valerie Pond [Sun, 9 Apr 2023 14:16:19 +0000 (15:16 +0100)] 
fix the icon in footer not showing

14 months agoUpdate index.php
Madriix [Sun, 9 Apr 2023 06:53:13 +0000 (08:53 +0200)] 
Update index.php

14 months agoChange default rpc-user name, now matches the new wiki instructions
Bram Matthys [Fri, 7 Apr 2023 08:05:05 +0000 (10:05 +0200)] 
Change default rpc-user name, now matches the new wiki instructions

14 months agoMove documentation to wiki
Bram Matthys [Fri, 7 Apr 2023 07:27:32 +0000 (09:27 +0200)] 
Move documentation to wiki

14 months agoLose the header in setup.php
Valerie Pond [Fri, 7 Apr 2023 05:25:31 +0000 (06:25 +0100)] 
Lose the header in setup.php

14 months agoQuick workaround for SQL Setup page not working
Bram Matthys [Fri, 7 Apr 2023 05:22:44 +0000 (07:22 +0200)] 
Quick workaround for SQL Setup page not working

14 months agoFix number of tables check
Valerie Pond [Fri, 7 Apr 2023 05:08:36 +0000 (06:08 +0100)] 
Fix number of tables check

14 months agoautomatically go to login page on session timeout
Valerie Pond [Fri, 7 Apr 2023 03:45:46 +0000 (04:45 +0100)] 
automatically go to login page on session timeout

14 months agomaybe a bigger interval on the cpu check =]
Valerie Pond [Fri, 7 Apr 2023 01:20:07 +0000 (02:20 +0100)] 
maybe a bigger interval on the cpu check =]

14 months agoMake a cool chart for CPU usage and show live CPU&memory usage
Valerie Pond [Fri, 7 Apr 2023 01:18:05 +0000 (02:18 +0100)] 
Make a cool chart for CPU usage and show live CPU&memory usage

14 months agoMake the Services overview card live too
Valerie Pond [Fri, 7 Apr 2023 00:57:26 +0000 (01:57 +0100)] 
Make the Services overview card live too

14 months agoOverview now displays live stats
Valerie Pond [Thu, 6 Apr 2023 23:50:38 +0000 (00:50 +0100)] 
Overview now displays live stats

The overview will now display live stats updated every second, so you can be sure the numbers you're looking at are current without having to refresh the page.

This goes for everything except the Services and Panel Access cards, though I will make these live in the near future.

14 months agoFix redirect loop
Valerie Pond [Thu, 6 Apr 2023 03:19:28 +0000 (04:19 +0100)] 
Fix redirect loop

Reported by @syzop

14 months agosome minor cosmetic changes
Valerie Pond [Wed, 5 Apr 2023 04:23:11 +0000 (05:23 +0100)] 
some minor cosmetic changes

14 months agoAdd the start of "Network Health" tool
Valerie Pond [Wed, 5 Apr 2023 04:22:31 +0000 (05:22 +0100)] 
Add the start of "Network Health" tool

This tab will let you see if there are any mode mismatches or module version mismatches, and any other stuff we can think might be useful to add in.
Since we already have a hardcoded End Of Life, it sounds reasonable to add UnrealIRCd5 being EOL as a  "problem" listed on this page after July, for example.

14 months agoCouple of small fixes reported by @Lord255
Valerie Pond [Wed, 5 Apr 2023 00:28:14 +0000 (01:28 +0100)] 
Couple of small fixes reported by @Lord255

14 months agoFinish server details page
Valerie Pond [Wed, 5 Apr 2023 00:25:03 +0000 (01:25 +0100)] 
Finish server details page

14 months agoMove SQL setup to its own page
Valerie Pond [Tue, 4 Apr 2023 20:45:52 +0000 (21:45 +0100)] 
Move SQL setup to its own page

14 months agoMerge pull request #17 from PeGaSuS-Coder/patch-1
Valerie Pond [Tue, 4 Apr 2023 19:48:08 +0000 (20:48 +0100)] 
Merge pull request #17 from PeGaSuS-Coder/patch-1

Update class-cmodes.php

14 months agoMerge pull request #19 from Madriix/main - Fix
Valerie Pond [Tue, 4 Apr 2023 19:47:24 +0000 (20:47 +0100)] 
Merge pull request #19 from Madriix/main - Fix

14 months agoFix password updating a blank password
Valerie Pond [Tue, 4 Apr 2023 19:44:59 +0000 (20:44 +0100)] 
Fix password updating a blank password

14 months agoUpdate header.php 19/head
Madriix [Tue, 4 Apr 2023 06:53:24 +0000 (08:53 +0200)] 
Update header.php

By installing this project this morning on my subdomain I came across this error and I took the liberty of correcting it :
https://www.zupimages.net/up/23/14/v2rd.jpg

14 months agoDisable permission checks when no auth plugin exists
Valerie Pond [Tue, 4 Apr 2023 00:15:29 +0000 (01:15 +0100)] 
Disable permission checks when no auth plugin exists

This lets people who are not using sql_auth plugin still be able to do things and not worry about setting permissions.

Warning: Not using sql_auth will NOT let you configure user permissions. In other words, anyone you give access will have permission to do everything.

15 months agomissing a word
Bram Matthys [Mon, 3 Apr 2023 07:52:58 +0000 (09:52 +0200)] 
missing a word

15 months agoAdd a helpful error screen if Apache/NGINX/.. serve a PHP < 8.0.0
Bram Matthys [Mon, 3 Apr 2023 07:48:26 +0000 (09:48 +0200)] 
Add a helpful error screen if Apache/NGINX/.. serve a PHP < 8.0.0

15 months agoMove including connection.php out of common.php so it is made explicit.
Bram Matthys [Sat, 1 Apr 2023 09:13:10 +0000 (11:13 +0200)] 
Move including connection.php out of common.php so it is made explicit.
This fixes an issue where a connection is made to the IRC server before
the user is verified to be logged in (and on the login screen too).
A few webpages now don't include connection.php, such as Login,
the IP whois tool and the Settings.

15 months agoUpdate class-cmodes.php 17/head
PeGaSuS [Fri, 31 Mar 2023 17:52:45 +0000 (19:52 +0200)] 
Update class-cmodes.php

Fixed small mix up between `+c` and `+C`

15 months agoUse user.set_issuer so currently logged in user is communicated to UnrealIRCd
Bram Matthys [Fri, 31 Mar 2023 12:26:06 +0000 (14:26 +0200)] 
Use user.set_issuer so currently logged in user is communicated to UnrealIRCd
for logging/auditing and other purposes such as unrealircd.org/issued-by mtag.

15 months agoFetch new unrealircd-rpc-php. Users will have to run 'composer install'
Bram Matthys [Fri, 31 Mar 2023 12:00:27 +0000 (14:00 +0200)] 
Fetch new unrealircd-rpc-php. Users will have to run 'composer install'

15 months agochan details: make inputboxes smaller
Valerie Pond [Fri, 31 Mar 2023 02:53:15 +0000 (03:53 +0100)] 
chan details: make inputboxes smaller

15 months agoFix some behind-the-scenes warnings
Valerie Pond [Fri, 31 Mar 2023 02:37:50 +0000 (03:37 +0100)] 
Fix some behind-the-scenes warnings

15 months agoLink to channel details from user details
Valerie Pond [Fri, 31 Mar 2023 02:29:53 +0000 (03:29 +0100)] 
Link to channel details from user details

15 months agochan details: make tables sm0l
Valerie Pond [Fri, 31 Mar 2023 02:20:08 +0000 (03:20 +0100)] 
chan details: make tables sm0l

15 months agoAdd visible params to details
Valerie Pond [Fri, 31 Mar 2023 00:39:37 +0000 (01:39 +0100)] 
Add visible params to details

Fix some buttons

15 months agoFinalize ability to edit channel modes
Valerie Pond [Fri, 31 Mar 2023 00:13:08 +0000 (01:13 +0100)] 
Finalize ability to edit channel modes

15 months agoServer Details: Fix buttons
Valerie Pond [Fri, 31 Mar 2023 00:08:39 +0000 (01:08 +0100)] 
Server Details: Fix buttons

These weren't working for some time. they are supposed to.

15 months agoRemove vendor item
Valerie Pond [Wed, 29 Mar 2023 15:01:01 +0000 (16:01 +0100)] 
Remove vendor item

15 months agoFurther on the channel details
Valerie Pond [Wed, 29 Mar 2023 14:38:15 +0000 (15:38 +0100)] 
Further on the channel details

15 months agoChannel details: re-add the Host column in "User List", but only fill
Bram Matthys [Mon, 27 Mar 2023 09:06:04 +0000 (11:06 +0200)] 
Channel details: re-add the Host column in "User List", but only fill
it when using UnrealIRCd 6.0.8+. In older versions one would have to
do 1 API call for each user in the list which is way too slow when the
webserver and IRC server are on different machines (eg: load time of
40 seconds for a 100 user channel).
In UnrealIRCd 6.0.8+ this information is included in the single
channel.get() when requested, so we only have to do 1 API call and
not 101.

15 months agoDon't call channel.get() twice for simple GET requests.
Bram Matthys [Mon, 27 Mar 2023 08:56:52 +0000 (10:56 +0200)] 
Don't call channel.get() twice for simple GET requests.
$_POST always exists even for GET requests, so isset() always
returned 1 and then... yeah...

Also, prepare to fetch more details...

15 months agoGrab CHANMODES= for current server in an easier way
Bram Matthys [Mon, 27 Mar 2023 08:45:07 +0000 (10:45 +0200)] 
Grab CHANMODES= for current server in an easier way

15 months agoUpdate unrealircd-rpc-php. End users must run 'composer install'.
Bram Matthys [Mon, 27 Mar 2023 08:44:23 +0000 (10:44 +0200)] 
Update unrealircd-rpc-php. End users must run 'composer install'.

15 months agoChannel details: resize the user list / channel settings a little, tweak later
Bram Matthys [Mon, 27 Mar 2023 06:29:22 +0000 (08:29 +0200)] 
Channel details: resize the user list / channel settings a little, tweak later

15 months agoChannel details: drop the Host in User List for now, so page loads fast,
Bram Matthys [Mon, 27 Mar 2023 06:23:25 +0000 (08:23 +0200)] 
Channel details: drop the Host in User List for now, so page loads fast,
also when the web server and the IRC server are on different machines.

15 months agoMove the channel details around, make it look better
Valerie Pond [Mon, 27 Mar 2023 05:52:18 +0000 (06:52 +0100)] 
Move the channel details around, make it look better

15 months agoDisplay channel settings, userstatus in the userlist and added quick-action buttons
Valerie Pond [Sat, 25 Mar 2023 03:58:36 +0000 (03:58 +0000)] 
Display channel settings, userstatus in the userlist and added quick-action buttons

15 months agogive success/error messages on edit panel user
Valerie Pond [Tue, 21 Mar 2023 23:27:35 +0000 (23:27 +0000)] 
give success/error messages on edit panel user

15 months agoMerge pull request #16 from PeGaSuS-Coder/patch-4
Valerie Pond [Tue, 21 Mar 2023 22:19:33 +0000 (22:19 +0000)] 
Merge pull request #16 from PeGaSuS-Coder/patch-4

Update class-paneluser.php

15 months agoShorten the introduction. This is short enough and the screenshots
Bram Matthys [Wed, 15 Mar 2023 12:57:25 +0000 (13:57 +0100)] 
Shorten the introduction. This is short enough and the screenshots
that we have nowadays say plenty already.

15 months agoWarn about SQL_DEFAULT_USER being set in config.php.
Bram Matthys [Wed, 15 Mar 2023 07:54:07 +0000 (08:54 +0100)] 
Warn about SQL_DEFAULT_USER being set in config.php.
This is a plaintext user/password that is set in the config that is only
meant for during installation of the SQL plugin. It should be removed
directly after you are logged in for the first time.

15 months agoNot important but set example SQL database name to unrealircdwebpanel.
Bram Matthys [Wed, 15 Mar 2023 07:44:03 +0000 (08:44 +0100)] 
Not important but set example SQL database name to unrealircdwebpanel.
I know, it's long, but I don't think "unrealircd" is appropriate since
this is not unrealircd but the unrealircd web panel :D. Also, now
it matches my instructions in the README.md.

15 months agoDon't mention file-based auth anymore and add more info for SQL auth.
Bram Matthys [Wed, 15 Mar 2023 07:41:17 +0000 (08:41 +0100)] 
Don't mention file-based auth anymore and add more info for SQL auth.
Get rid of the "under construction" text even though it may be, after all
the entire web panel is under construction :D. And add hands-on
instructions for creating the database, user, granting permissions,
and the exact steps to go through.

15 months agofor ?redirect=xx in login, only allow local URLs
Bram Matthys [Wed, 15 Mar 2023 07:28:27 +0000 (08:28 +0100)] 
for ?redirect=xx in login, only allow local URLs

15 months agoFix incorrect order of SQL statements
Valerie Pond [Tue, 14 Mar 2023 04:10:09 +0000 (04:10 +0000)] 
Fix incorrect order of SQL statements

15 months agoFix password change error
Valerie Pond [Mon, 13 Mar 2023 21:27:00 +0000 (21:27 +0000)] 
Fix password change error

This was updating the password to be an encrypted boolean... somehow... unset the variable instead of set to false..

15 months agofunctions for requiring a plugin and ensuring it exists
Valerie Pond [Mon, 13 Mar 2023 18:56:21 +0000 (18:56 +0000)] 
functions for requiring a plugin and ensuring it exists

15 months agoSpamfilter: Fix a user permission check
Valerie Pond [Mon, 13 Mar 2023 18:55:34 +0000 (18:55 +0000)] 
Spamfilter: Fix a user permission check

15 months agoAllow updating user information
Valerie Pond [Mon, 13 Mar 2023 18:54:13 +0000 (18:54 +0000)] 
Allow updating user information

15 months agoFix some user lookups
Valerie Pond [Mon, 13 Mar 2023 18:53:34 +0000 (18:53 +0000)] 
Fix some user lookups

15 months agoUNFINISHED: Config blocks plugin
Valerie Pond [Mon, 13 Mar 2023 18:48:26 +0000 (18:48 +0000)] 
UNFINISHED: Config blocks plugin

Start on the config blocks plugin which will allow privileged users to use a UI with blocks/rules to manage a "remote include"-able file

15 months agoAdd some C-like functions for strings
Valerie Pond [Mon, 13 Mar 2023 18:46:32 +0000 (18:46 +0000)] 
Add some C-like functions for strings

15 months agoUNFINISHED UnrealIRCd config parsing
Valerie Pond [Mon, 13 Mar 2023 18:13:14 +0000 (18:13 +0000)] 
UNFINISHED UnrealIRCd config parsing

This is completely unfinished and doesn't do anything useful yet.

I'm only pushing this to show my work

15 months agobe more specific in finding a user
Valerie Pond [Mon, 13 Mar 2023 18:12:05 +0000 (18:12 +0000)] 
be more specific in finding a user

take into account that $user can be `false` or `NULL`

15 months agoAllow editing the panel profile
Valerie Pond [Tue, 7 Mar 2023 23:02:14 +0000 (23:02 +0000)] 
Allow editing the panel profile

16 months agoUpdate class-paneluser.php 16/head
PeGaSuS [Wed, 1 Mar 2023 14:09:53 +0000 (15:09 +0100)] 
Update class-paneluser.php

Small adjustment so all explanations have the same syntax.

16 months agoMerge pull request #15 from PeGaSuS-Coder/patch-3
Valerie Pond [Wed, 1 Mar 2023 14:04:33 +0000 (14:04 +0000)] 
Merge pull request #15 from PeGaSuS-Coder/patch-3

Update index.php

16 months agoUpdate class-paneluser.php 15/head
PeGaSuS [Wed, 1 Mar 2023 14:00:22 +0000 (15:00 +0100)] 
Update class-paneluser.php

Fixed a typo

16 months agoUpdate index.php
PeGaSuS [Wed, 1 Mar 2023 13:57:40 +0000 (14:57 +0100)] 
Update index.php

Change the name here to match the changes on commit https://github.com/unrealircd/unrealircd-webpanel/commit/0129a486d8d9ee22b2a959fe4bd364485547a9e0 :P

16 months agoRename "Panel Users" to "Panel Access" in the navbar
Valerie Pond [Wed, 1 Mar 2023 11:34:44 +0000 (11:34 +0000)] 
Rename "Panel Users" to "Panel Access" in the navbar

16 months agoMake permissions apply to spamfilter, name bans and ban exceptions
Valerie Pond [Wed, 1 Mar 2023 11:08:53 +0000 (11:08 +0000)] 
Make permissions apply to spamfilter, name bans and ban exceptions

16 months agouser can view their own permissions
Valerie Pond [Wed, 1 Mar 2023 10:02:43 +0000 (10:02 +0000)] 
user can view their own permissions

16 months agoGive the default SQL user permission to manage users
Valerie Pond [Wed, 1 Mar 2023 09:42:17 +0000 (09:42 +0000)] 
Give the default SQL user permission to manage users

16 months agofinish permissions
Valerie Pond [Wed, 1 Mar 2023 09:34:37 +0000 (09:34 +0000)] 
finish permissions

16 months agoFix some brokenness
Valerie Pond [Tue, 28 Feb 2023 23:25:10 +0000 (23:25 +0000)] 
Fix some brokenness

16 months agoCouple more imperfection fixes
Valerie Pond [Tue, 28 Feb 2023 00:25:30 +0000 (00:25 +0000)] 
Couple more imperfection fixes

- Fix excepts being added where an invite should be
- Change button text in invites to be "Add Invite"

16 months agoFix a couple of small errors
Valerie Pond [Mon, 27 Feb 2023 23:57:37 +0000 (23:57 +0000)] 
Fix a couple of small errors

- Invex modal not opening (@alicetries)
- `+I` and `+e`: cater for no bantype field

16 months agoBans, Invites and Excepts adding and deleting
Valerie Pond [Mon, 27 Feb 2023 23:15:28 +0000 (23:15 +0000)] 
Bans, Invites and Excepts adding and deleting

16 months agoFix accidental downgrade
Valerie Pond [Mon, 27 Feb 2023 18:43:41 +0000 (18:43 +0000)] 
Fix accidental downgrade

16 months agoUpdate bootstrap and co to newer versions
Valerie Pond [Mon, 27 Feb 2023 18:18:40 +0000 (18:18 +0000)] 
Update bootstrap and co to newer versions

16 months agoLeave comment about stray div so nobody tries to delete
Valerie Pond [Mon, 27 Feb 2023 18:13:15 +0000 (18:13 +0000)] 
Leave comment about stray div so nobody tries to delete

16 months agoShow success message on ban add. Convert ~time param from float to int.
Valerie Pond [Mon, 27 Feb 2023 18:12:24 +0000 (18:12 +0000)] 
Show success message on ban add. Convert ~time param from float to int.

16 months agoAdd error message and get rid of var_dump()
Valerie Pond [Sat, 25 Feb 2023 03:54:30 +0000 (03:54 +0000)] 
Add error message and get rid of var_dump()

16 months agoGive ability to set and remove bans
Valerie Pond [Sat, 25 Feb 2023 03:02:23 +0000 (03:02 +0000)] 
Give ability to set and remove bans