summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Users.pm
AgeCommit message (Collapse)AuthorFilesLines
2011-04-08Added 'select' all to wishlist and moved 'select all' down on notifiesYorhel1-1/+3
For consistency
2011-02-03TUWF: Replaced reqParam() with reqGet() or reqPost() where applicableYorhel1-2/+2
Cleaner this way. Also found two occurences of manually HTML-escaping text for textareas, which isn't necessary anymore.
2011-01-27Order "all notifications" with new notifications firstYorhel1-0/+1
That's more what you'd expect from a list that functions somewhat as a short-lived FIFO "archive".
2011-01-27TUWF: Added tag name to several end() callsYorhel1-5/+5
Haven't found any bugs this way, yet. I doubt there'll be any problems, but it's a nice new feature that could help quite a bit. :-D
2011-01-25TUWF: Initial convert from YAWF to TUWFYorhel1-44/+43
There may still be some bugs present and I've only converted the points where TUWF is incompatible with YAWF. The new TUWF features are not in use yet, I'll do that later on. Note that, in order to run the new code, TUWF must be installed on your system. The configuration for the TransAdmin plugin has also changed. Other than that there shouldn't be any issues.
2010-12-23Converted the notify_announce and notify_dbedit preferencesYorhel1-10/+7
And renamed notify_dbedit to notify_nodbedit, since the default is to provide a notify on a database edit. Also fixed a few bugs along the way.
2010-12-23Converted the show_list pref. to users_prefs and inverted the valueYorhel1-16/+15
In the users_prefs table, the default value should evaluate to 'false' in Perl, so show_list had to be inverted to hide_list.
2010-12-23Converted the show_nsfw preference to use the users_prefs tableYorhel1-13/+11
2010-12-23Added users_prefs table and removed users.(skin|customcss)Yorhel1-4/+4
Will convert the other preferences later.
2010-12-15Handler::Users: Link the vote count on /u+ to /u+/votes instead of /u+/listYorhel1-1/+1
2010-12-13Removed /u+/tags and replaced/added links to /g/links?u=XYorhel1-2/+11
The new tag link browser has replaced the crappy old user-tags-browser.
2010-12-10Added vote listings for VNs and users (/[uv]+/votes)Yorhel1-1/+1
2010-12-09Removed expand/collapse from /u+/posts and switched to a combined viewYorhel1-6/+4
And removed some shared code that is now unused
2010-11-09Added human confirmation question to the registration pageYorhel1-2/+11
Just a simple question.
2010-11-06URL change: /u/logout => /u$id/logoutYorhel1-2/+5
Also fixes a cross-site request forgery vulnerability. Not as strong as the others but it's not very crucial anyway.
2010-11-06Fixed cross-site request forgery vulnerabilitiesYorhel1-4/+13
2010-11-01Handler::Users: Added note about automatic deletion to notifications pageYorhel1-0/+1
2010-03-14Handler::Users: Added noindex to user pagesYorhel1-1/+1
I could swear the user pages have always been noindex'ed... hmm.
2010-02-06Handler::Users: Re-fetch notifycount after batch-editing notificationsYorhel1-0/+1
So that the count displayed in the main menu is updated immediately, rather than on a subsequent pageview.
2010-02-05Notifications: Added 'announce' notificationYorhel1-7/+12
This one is also configurable, but mainly because I want to avoid generating several thousands of notifications for a single action...
2010-02-05Notifications: Added 'dbedit' notificationYorhel1-1/+28
And added a settings window where you can disable this notification, which is something you really want to do if you're an active contributor...
2010-02-02Handler::Users: Got rid of useless sprintf statementYorhel1-1/+0
2010-02-02Notifications: Renamed description column to actionYorhel1-1/+1
2010-02-01Added notification for database deletions to users who contributedYorhel1-1/+2
Complex queries...
2010-02-01Cache the title and userid of the notificationsYorhel1-1/+1
These aren't likely to change anyway, and things will become less easy to display when other types of notifications are added.
2010-02-01Notifications: Added onclick event to the description columnYorhel1-1/+1
More intuitive to allow clicking on that as well to open the notification.
2010-01-26Made a start on the notification systemYorhel1-1/+106
The current setup should be able to handle all kinds of notifications, though only PMs are implemented at this point. More to come.
2010-01-24Automatically generate the skin credits on d7Yorhel1-1/+1
Added a userid field in the skin config files, from which the credits are loaded. Now I don't have to constantly update d7 for every language when something changes in the skin files.
2010-01-24Show deleted entries in the edit histories by defaultYorhel1-1/+1
They used to be hidden from all edit histories, but there's not really a point in hiding them. In fact, it'll only confuse people who just got their DB entry deleted and can't find any evidence that it even existed at all.
2010-01-11Fixed sorting bug on /u+/postsYorhel1-1/+1
Damn, so many bugs... This one was introduced in 9613533da2c58af3c64e3bd4ed7b92b22ffd442f
2009-11-27DB: Abstracted all ORDER BY clauses in the DB abstraction layerYorhel1-1/+1
The ORDER BY was previously specified using an 'order' argument, which would then be directly inserted into the query. The new method is the same as what I used for the public API: two 'sort' and 'reverse' arguments. This should be less error-prone and more readable. This changes quite a lot of code, so I hope I haven't forgotten to update something along the way.
2009-11-27Split browse functions from CommonHTML.pm into BrowseHTML.pmYorhel1-1/+1
CommonHTML.pm was starting to get a bit large. Also renamed htmlHistory to htmlBrowseHist while I was at it, to keep consistency with the htmlBrowse functions.
2009-10-29Handler::Users: Fixed password recovery email sending bugYorhel1-1/+1
dbUserGet() doesn't return the email address by default anymore.
2009-10-10Greatly reduced default number of columns returned by dbUserGetYorhel1-1/+1
Most of the columns are only used in some rare situations, so fetching all that information is unecessary. To fetch this information, a what => 'extended' is now required. This change should be most noticable for the user list (now less than half of the previous data is fetched from the database).
2009-10-07L10N: Extracted some common Javascript stringsYorhel1-1/+1
2009-10-03JS: Rewrote and generalized row group expand codeYorhel1-1/+1
2009-10-03JS: Updated and generalized list expand/collapse functionsYorhel1-2/+2
2009-09-24Handler::Users: Fixed URL display in flags_list optionYorhel1-1/+1
2009-09-24L10N: Translated the 'ALL' char and fixed footer TL bugYorhel1-1/+1
2009-09-06L10N: Converted Handler::VNPageYorhel1-3/+3
This is the last Handler module. There are still some other things left in Util:: and global.pl, though. But at least we're nearing the end!
2009-09-04L10N: Converted Handler::UsersYorhel1-125/+88
2009-08-18htmlForm(): Don't generate subform id from the titleYorhel1-4/+4
The subform id is now passed to htmlForm() as first formpart item. This way the id won't change even if the title does, which will be the case with the interface translation.
2009-08-17L10N: Moved some functions from Func.pm to L10N.pm and added Russian quant() ↵Yorhel1-3/+3
and age()
2009-08-17L10N: Converted user ranks and language namesYorhel1-1/+1
User ranks are easy... but the language names are used everywhere!
2009-08-12Allow a usermod to browse a users' list even when it's hiddenYorhel1-2/+2
To make sure we can still see a troll if he marks his list as hidden. Only admins have this usermod privilege, and admins are assumed to have raw SQL access anyway.
2009-08-12Added global user votes ignore listYorhel1-0/+4
2009-08-09Don't perform username regex validation on loginYorhel1-1/+1
No need to, this will be cached in the DB, anyway.
2009-07-29Altered the way sessions are handled in some cases3dB1-0/+1
-- Deleting a user now deletes all sessions too. -- Changing a user password now deletes all stored sessions for that user.
2009-07-28Multiple bugfixes to authorization system & sql tweaks3dB1-1/+1
This commit is tested to work.
2009-07-28Modified DB libraries and user handlers dealing with passwords to work with ↵3dB1-4/+6
new auth system. -- Modified all database insertion and edit subroutines to be able to work with the new 'salt' column. -- Modified all subroutines dealing with password manipulation to use authPreparePass to encrypt passwords and generate salts.