Commit Graph

203 Commits

Author SHA1 Message Date
Alexey Sokolov 2bd410ee55 Fix NULL pointer dereference in webadmin.
Triggerable by any non-admin, if webadmin is loaded.

The only affected version is 1.0

Thanks to ChauffeR (Simone Esposito) for reporting this.
2013-05-27 23:52:32 +04:00
Alexey Sokolov 46b28559fc webadmin: Enable embedding network modules and to network pages. 2013-05-19 18:40:12 +04:00
Alexey Sokolov f2e8738ffc Fix #313 2013-04-05 08:38:21 +07:00
KindOne 2db7307ac3 Remove unneeded headers. 2013-03-08 01:47:57 +07:00
baines 82a708d6a1 Cleaned up more warnings. 2013-02-27 20:53:14 -05:00
Un1matr1x 3a34593359 The same procedure as last year, Miss sophie?
Same procedure as every year, James.
2012-12-31 12:44:31 +01:00
Alexey Sokolov cf8925c930 Webadmin: don't modify listeners if loaded as user mod
Thanks to TheLordOfTime
2012-12-01 14:28:07 +07:00
Alexey Sokolov 833e63fb64 Allow loading webadmin as user module. 2012-12-01 08:55:41 +07:00
Alexey Sokolov b0a2a58155 Fix error message at webadmin #239 2012-10-19 22:29:28 +07:00
Alexey Sokolov 9b2898f603 Implement setting "Max number of networks" for user.
Fix #226
2012-09-20 01:24:47 +07:00
Alexey Sokolov 9830be786a Add network and user to Edit channel page in webadmin.
This really needs #227 instead
2012-09-06 23:44:48 +07:00
Alexey Sokolov c00cc72242 Add details to network table in webadmin.
Fix #222
2012-09-06 23:41:44 +07:00
Alexey Sokolov 0ed928623e webadmin: Show username in Edit Network page. 2012-09-06 23:18:30 +07:00
Alexey Sokolov 58d61539c3 webadmin: Fix using empty value for defaults in user page for buffer size.
Thanks to p3k for finding it.
2012-09-06 19:15:02 +07:00
Kyle Fuller 67299ebfa8 Fix a bunch of conversion warnings #197 2012-08-14 19:31:14 +07:00
Alexey Sokolov 62c9ac1a0b using in headers is evil :( 2012-07-26 20:46:11 +07:00
Alexey Sokolov 38b9525ad3 Fix webadmin to deny setting bindhost not from list. 2012-07-19 01:00:11 +07:00
Alexey Sokolov cebc093254 Per-network bind hosts.
Fix #147
2012-07-19 00:59:41 +07:00
Alexey Sokolov 27f42d1118 Rename (non-) KeepBuffer to AutoClearChanBuffer.
It should be a less confusing name...
2012-05-09 22:32:12 +07:00
Alexey Sokolov b496b282b2 Argh, commited wrong stuff... 2012-04-13 02:52:18 +07:00
Alexey Sokolov 87a79f83d9 Fix XML errors on network page in webadmin.
Thanks to thread for reporting it.
2012-04-13 02:49:18 +07:00
Alexey Sokolov 3e458a98e4 Merge some work by Jens-Andre Koch
Only his changes to the core are presented here.
Unfortunately, the skin itself looks ugly on Opera,
and simply doesn't work on Firefox...

Merge branch 'master' into znc-ation

Conflicts:
	modules/data/lastseen/tmpl/lastseen_WebadminUser.tmpl
	modules/data/webadmin/tmpl/settings.tmpl
2012-04-10 23:19:15 +07:00
Alexey Sokolov 6876961b79 Fix crash in webadmin when adding a new user.
My recent patch, which added ability to put arbitrary bindhost when
global list is missing, broke it...

Thanks to Jord for reporting it.
2012-04-08 00:24:26 +07:00
Alexey Sokolov 1a8455b2b9 Ups, commited debug stuff accidentally... 2012-04-01 12:15:33 +07:00
Alexey Sokolov b8822b8bfb webadmin: allow edit bindhost without global list. 2012-04-01 11:52:31 +07:00
Alexey Sokolov 28f6809af8 Webadmin: edit listen ports 2012-03-31 06:48:24 +07:00
Jens-Andre Koch bfc829d38d - used CString on Info.GetHasArgs 2012-03-28 16:59:51 +02:00
Jens-Andre Koch 92ec938150 Added Webskin "znc-ation" 2012-03-28 12:24:27 +02:00
Alexey Sokolov 30b99d58f3 Show list of timezones in webadmin. 2012-03-23 01:16:25 +07:00
Alexey Sokolov 1d4d657e23 Deprecate TimezoneOffset 2012-03-22 23:21:25 +07:00
Alexey Sokolov f0cab46c3f Merge https://github.com/znc/znc/pull/78 (TZ)
Conflicts:
	modules/admin.cpp
	src/User.cpp
2012-03-22 22:58:46 +07:00
Alexey Sokolov e83efead26 Nicify webadmin interface for flood protection. 2012-03-22 13:22:13 +07:00
Kyle Fuller db7c47f97d Rewrite the JOIN channel logic, dropping MaxJoins
Instead we fill the JOIN line up with as many channels as we can fit in
an IRC line. Rate limiting is done per command now, making MaxJoins
unnecessary.
2012-03-21 22:06:54 +00:00
Alexey Sokolov bf25eee520 Merge branch 'master' of github.com:znc/znc 2012-03-21 20:14:59 +07:00
Alexey Sokolov afaef88807 Edit flood protection in webadmin. 2012-03-21 20:13:53 +07:00
Kyle Fuller 5618cf78d7 webadmin: Ask for confirmation when deleting a network
Closes #142
2012-03-19 00:34:41 +00:00
Kyle Fuller c54b3d0b87 webadmin: Implement clone user
Closes #127
2012-02-24 17:26:04 +00:00
Kyle Fuller 8863d853c9 Allow disabling the use of adding networks for non admins
Closes #122
2012-02-15 16:27:47 +00:00
Kyle Fuller b447169011 Allow setting a network-specific settings the same as the user setting
Fixes #94
2012-01-17 22:01:19 +00:00
Kyle Fuller 3d7d1793aa Move IRCConnectEnabled to each network instead of a global user setting 2012-01-11 14:49:17 +00:00
Un1matr1x 73270ff023 Welcome in 2012 2012-01-01 09:30:19 +01:00
Uli Schlachter a66721eacb webadmin: Add a "Disabled" checkbox for channels
Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-10-30 13:44:36 +01:00
Alexey Sokolov cf49449dde Be able to remove servers using webadmin.
Thanks for appel for reporting this.
2011-10-30 00:47:11 +07:00
Allan Odgaard b8247095d1 Introduce time zone (string) setting.
Presently unused but intended to supersede the current time zone offset.

The advantage of a string is that it can be set to something like Europe/Copenhagen and thereby adapt to daylight savings time.
2011-10-09 15:48:03 +02:00
Alexey Sokolov e354c24ac1 Move ZNC headers into own directory.
Yes, this breaks backwards compatibility, so what?
It's already broken with network stuff anyway.
2011-09-23 03:31:58 +07:00
Kyle Fuller 6686c0de79 Support having a nickname per network 2011-09-12 15:59:15 +00:00
Kyle Fuller ee7a2083c8 Make the *webadmin module support IRC networks 2011-08-24 19:07:32 +01:00
Uli Schlachter 80c76c97a6 Remove GLOBALMODCONSTRUCTOR
MODCONSTRUCTOR does that job just fine (now).

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-08-21 18:01:58 +02:00
Uli Schlachter cce40e9f71 Move the EModuleType into CModInfo
This also renames the values to shorter and more "well sounding" names.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-08-21 16:30:36 +02:00
Uli Schlachter 5f53c3509f Fix some minor issues
E.g. a gcc warning about an uninitialized variable.

Signed-off-by: Uli Schlachter <psychon@znc.in>
2011-08-21 15:58:01 +02:00