Commit Graph

55 Commits

Author SHA1 Message Date
Marc Delisle
f07a0842f0 Cache jQuery object to avoid unneeded DOM traversal 2011-03-02 13:03:24 -05:00
Marc Delisle
3400dddadd Cache jQuery object to avoid unneeded DOM traversal 2011-03-01 08:08:40 -05:00
Ravindra Nath kakarla
0d77b5084c Patch #3194824 Partial list of users and new users 2011-03-01 08:04:09 -05:00
Marc Delisle
624ec9c5f9 Make edit privileges panel more manageable 2011-02-19 10:38:58 -05:00
Marc Delisle
f328f6d4a9 Conditional Ajax in Privileges 2011-02-05 07:18:42 -05:00
Marc Delisle
d7854c2dac A height of 600 is better 2011-01-16 10:07:08 -05:00
Marc Delisle
46c412c997 Bug #3156485 Unable to add a new user using Google Chrome 2011-01-15 10:31:11 -05:00
Marc Delisle
e7d9457431 rfe #3158867 [privileges] No DROP DATABASE warning if you delete a user 2011-01-15 09:23:57 -05:00
Marc Delisle
653debdc0e Initials do not work if there are more than 50 users (the initial form is not present) 2011-01-07 10:22:08 -05:00
Marc Delisle
81cddb2514 bug 3084745 js error under Chrome (Linux) 2010-11-05 06:04:00 -04:00
Marc Delisle
98066b6bcb prefix for variable holding jQuery object; remove extra wrapping for the object 2010-10-31 17:30:33 -04:00
Marc Delisle
af0591e190 re-indent 2010-10-31 17:24:40 -04:00
Marc Delisle
79c5181d2a bug #3060972 Password generation not available with AJAX 2010-09-25 08:50:39 -04:00
Michal Čihař
0431042bd0 Drop $Id$ expansion, nobody complained so far it not working. 2010-09-07 15:00:44 +02:00
ninadsp
aed2e27b3f A better solution to the caching issues faced. Set jQuery's global Ajax parameter 'cache' to false, and also set the 'Cache-Control' header to 'no-cache' 2010-09-02 15:10:58 -04:00
ninadsp
73391c9e42 Append a random number for all Ajax queries on these pages to prevent server side caching from affecting the results 2010-08-31 12:50:21 -04:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
c0ee037c59 Resolved a Merge Conflict 2010-08-17 18:25:03 +05:30
ninadsp
43f4812dbf Added JSDoc-Toolkit compatible documentation to js/server_privileges.js 2010-08-10 19:25:40 +05:30
ninadsp
a7f2cbd2ba Converted the PMA_sort_table into a jQuery function as there was a race condition caused due to simultaneous adding of a row and sorting of the table 2010-08-03 21:01:20 +05:30
ninadsp
3ab3b35a76 Created a function to sort a table after a new row has been appended to it. Required for Create Table, Add User and Create Database actions 2010-08-03 20:22:36 +05:30
ninadsp
4c13428e28 On deleting users, the classes of the rows remaining are re-adjusted so the table looks the way its supposed to 2010-07-25 00:49:32 +05:30
ninadsp
4f8c85b31d The user's table is now sorted after a new user is added. Moved common code for add user and copy user to a function 2010-07-25 00:34:35 +05:30
ninadsp
4054332641 Update the privileges field in the usersForm table when the user is changed 2010-07-23 00:18:15 +05:30
ninadsp
85d42b8a57 Newly copied user too is appended to the table now 2010-07-23 00:03:12 +05:30
ninadsp
7033154eb4 If the last user with a given initial is deleted, update the users overview table and remove the link 2010-07-16 19:59:14 +05:30
ninadsp
4b18b4c7d6 When a new user is created, the user's overview table on the top is now updated to reflect the newly added user's initial 2010-07-16 19:36:12 +05:30
ninadsp
7dd8745778 Added a Math.random() parameter to negate caching issues with user's list 2010-07-13 03:28:23 +05:30
ninadsp
fcae63bbd7 When a new user is added, his details are now appended to the user's table 2010-07-13 03:25:53 +05:30
ninadsp
7d3245cbcd Fixed the empty notice divison being generated when PMA_showMessage() was being passed a NULL query 2010-07-12 23:11:41 +05:30
ninadsp
e98edae53b Remove previous queries if any before inserting the latest query. We
don't want too many queries crowding up.
2010-07-11 00:14:12 +05:30
ninadsp
77aa8c50dd Hopefully, the PMA_messages[] error will be resolved now. Most probably
a context issue was causing the error.
2010-07-01 14:39:25 +05:30
ninadsp
b1dcb9493d The reference to PMA_messages[] for the title option was causing issues
on the demo server.
2010-07-01 02:32:17 +05:30
ninadsp
dac68adc52 Show the SQL queries too in an Ajax response. 2010-06-30 01:20:09 +05:30
ninadsp
fe92d38e38 Fixed the bug where the initials_table division landed up at the bottom
of the page after an ajax request.
2010-06-30 00:37:25 +05:30
ninadsp
fd2e5e226d Removed the $.append() calls that were conflicting with document.write()
on the demo server.  Instead, generating the div on the fly and not
appending it to the DOM.
2010-06-30 00:33:11 +05:30
ninadsp
57f2935978 Added localization strings for the jQueryUI dialog buttons. 2010-06-29 00:33:58 +05:30
ninadsp
6ab286d6ca Completed the Ajax conversion for Edit User action.
Converted the pagination for the users table to Ajax, still a little
buggy.
2010-06-27 03:25:57 +05:30
ninadsp
217968fb92 Noticed a bug in the dialog close buttons. The html was not destroyed
after closing, so added a .remove() call everywhere.
2010-06-25 00:30:23 +05:30
ninadsp
a8073a1875 Fixed a bug with the checkAddUser call. The function is called properly
now.
2010-06-23 11:13:10 +05:30
ninadsp
9737dbc675 Localised the JavaScript messages. Hooked in checkAddUser() function to
validate the user form. Edit User ajax call is still a work in progress
2010-06-22 13:10:40 +05:30
ninadsp
a7e77314af Ajaxified Export Privileges with jQueryUI dialog 2010-06-21 03:18:21 +05:30
ninadsp
ce79f6cdf1 Improved the behaviour of Reload Privileges Ajax action. Ajaxified
the Revoke User action
2010-06-21 02:57:58 +05:30
ninadsp
8b37b825ef Handled submitting of Add User form. Still need to hook in
checkAddUser()
2010-06-17 18:22:35 +05:30
ninadsp
3bb4dbd0ac Using $().live instead of $().click to bind event handlers 2010-05-30 23:27:13 +05:30
ninadsp
d14abc17ca Attached Ajax event handler to Reload Privileges 2010-05-26 18:27:21 +05:30
ninadsp
0e910967b0 Attached jQuery event handlers to Add a New User using
jQueryUI Dialog. Work in progress, still need to
handle submission of form
2010-05-26 11:46:08 +05:30
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Herman van Rink
2c80454a14 bug [gui] Generate Password not working for 'Change Login Information', only for 'Change password' 2009-07-12 12:13:11 +00:00
Marc Delisle
70c6e5a32c rfe #2657696 Automatically copy generated password 2009-05-04 16:32:16 +00:00