Commit graph

7868 commits

Author SHA1 Message Date
skodak
a6283e9127 MDL-16920 mysqli: refactored driver to use new query logging 2008-11-04 22:25:23 +00:00
skodak
d139b06701 MDL-17020 pgsql: new port dboption 2008-11-04 21:55:39 +00:00
skodak
9214025e3e MDL-17129 basic dml exceptions 2008-11-04 21:50:13 +00:00
stronk7
05ed3df5e0 MDLSITE-548 - langconfig: Adding thousands separator. Merged from 19_STABLE 2008-11-04 16:53:16 +00:00
mudrd8mz
0c49565b34 Set images base path to Moodle dirroot 2008-11-04 12:13:04 +00:00
tjhunt
2660377f72 user preferences: MDL-17123 cope correctly with multiple sessions.
This steals the logic from accesslib used to detect dirty contexts and so reload cached access data when permissions are changed.

Here, we track when user preferences are changed, so that if necessary we can trigger a reaload. This helps in two situations:
1. When you are logged into Moodle with two different browsers.
2. When someone else changes one of your preferences.
After this change, you will see the changed user pref immediately in all sessions.

This adds one cheap DB query to any page that tries to access a user preference (which is almost all of them, because of deciding whether to show the messaging pop-up). It adds a few more queries in the cases when a user preference is changed. This is in the name of correctness.
2008-11-04 10:49:31 +00:00
tjhunt
e7b7583cc3 user selection: MDL-17073 add options to control the search in a collapsible region - Fix IE layout glitch. 2008-11-04 09:14:03 +00:00
tjhunt
c679952e09 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - minor layout improvements for IE. 2008-11-04 07:22:23 +00:00
tjhunt
904998d8f9 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
tjhunt
67c8a3e870 user selection: MDL-17073 add options to control the search in a collapsible region. 2008-11-04 05:12:12 +00:00
skodak
23a766143d MDL-17110 snoopy: imported new version 1.2.4 2008-11-03 07:55:46 +00:00
tjhunt
c9f8e118c9 user selection: MDL-17072 Polishing the role assign page:
* Make the role being assigned clear in the title
* Make the options in the middle of the page be in a collapsable options section, collapsed by default.
* Put them in a smaller font too.
* Switch the date selectors here to use a shorter date format, and change 'Course start date' to 'Course start'.
2008-11-03 06:06:08 +00:00
tjhunt
512c5901fe weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference - I forgot the PHP docs before. 2008-11-03 05:27:10 +00:00
dongsheng
aa19998a72 "MDL-16954, use rebert\'s patch to clean notice/warning in cron job via php cli, merged from 1.9" 2008-11-03 05:25:30 +00:00
tjhunt
f2eb500238 weblib: MDL-17085 a function to print a collapsible region of the UI, with the collapsed state stored in a user_perference. 2008-11-03 05:04:23 +00:00
dongsheng
b3e6e8047b "MDL-16341, add upload function for flickrlib" 2008-11-03 03:22:55 +00:00
skodak
0cde3ede1c MDL-11789 fixed regressions preventing file caching when default used; merged from MOODLE_19_STABLE 2008-11-01 19:28:31 +00:00
skodak
a857b7ea38 MDL-17099 htmlpurifier: new version from upstream 2008-11-01 18:58:29 +00:00
nicolasconnault
8470c13829 MDL-17091 Removing superfluous Zend framework files 2008-10-31 21:36:57 +00:00
mudrd8mz
66439e36ce MDL-17094 Allow translators to disable automatic language update during Moodle upgrade.
One needs just add $CFG->skiplangupgrade = true; to their config.php and keep their language pack up-to-date manually. This is intended for lang pack maintainers with CVS access only.

This is backpported from MOODLE_19_STABLE admin/index.php
2008-10-31 21:11:46 +00:00
nicolasconnault
647a1a8289 MDL-17091 Added zend framework to include_path 2008-10-31 15:34:23 +00:00
nicolasconnault
5ab88978b9 MDL-17091 Adding part of GoogleData API from the Zend Framework, in order to support portfolio and repository functions. Also completed basic portfolio plugin. 2008-10-31 15:33:45 +00:00
nicolasconnault
0d4231f0e3 MDL-16341 Finished flickr plugin 2008-10-31 09:14:06 +00:00
tjhunt
3b0bf2e4dd ajax: MDL-17086 Add a CSS class name to <body> when JavaScript is enabled 2008-10-31 08:45:35 +00:00
tjhunt
bd1884fe6b ajax: MDL-17084 provide a way for JavaScript to update user preferences. 2008-10-31 08:25:19 +00:00
tjhunt
6cab02ac52 user selection: MDL-16993 Convert the assign roles page to use the new components.
At the same time, I took the opportunity to try to work on some of the usability issues on this page. Note that I have not quite finished! So don't comment until tomorrow.

In the course of doing this, I also did: half of

MDL-11529 Show the number of assignees of each role in the change role dropdown on this page.
MDL-17067 Make it clear in the UI that admins are not allowed to unassign themselves.
2008-10-30 10:49:15 +00:00
tjhunt
96f1a7a265 roles admin: Improve the usability of the assign roles interface - this is the first half of the work. Part of MDL-16993.
To do this, I found a way to clean up the method signatures of a couple of accesslib methods, so I did, hence the fact that this seems to touch some unrelated files.

Also, there is a nice new method in accesslib get_context_url, which gives you the natural URL for a context, so the course view page, or the user profile, etc.
2008-10-30 06:26:18 +00:00
tjhunt
8bb8a8b43c print_table: allow headings to span multiple columns. 2008-10-30 04:20:03 +00:00
skodak
1500142bfb MDL-14990 dml: towards proper logging/perf infrastructure 2008-10-29 23:55:16 +00:00
tjhunt
e4749fcc08 Make developer debug mode available to JavaScript. 2008-10-29 08:17:18 +00:00
tjhunt
10e99feaa2 Fix and improve error message. 2008-10-29 06:54:32 +00:00
skodak
bb5f11ece7 MDL-14990 dml: towards proper logging/perf infrastructure 2008-10-28 22:31:26 +00:00
stronk7
40b5f6552b Missing parenthesis in sql_substr(). MDL-16669 2008-10-28 17:57:51 +00:00
skodak
9a4f9e334a MDL-17020 dml: native pgsql driver - fixed error detection on connect 2008-10-28 15:37:15 +00:00
skodak
1fe1d10454 MDL-16930 dml: exceptions instead of print_error 2008-10-28 15:21:01 +00:00
skodak
655bbf511d MDL-16669 dml: improved sql_substring(), added unit tests 2008-10-28 15:11:10 +00:00
skodak
d669160891 MDL-15070 dml: recordset rewinding now forbidden - not all databases support it, sorry 2008-10-28 12:14:09 +00:00
skodak
7063c802fa MDL-17020 dml: native pgsql driver - minor coding style improvement 2008-10-28 12:04:10 +00:00
skodak
dd2ce45907 MDL-17020 dml: native pgsql driver - socket and persistent connection support 2008-10-28 12:03:04 +00:00
skodak
6cc9771844 MDL-14990 dml: added __destruct method, will be needed for logging 2008-10-28 12:02:13 +00:00
fmarier
6a77823cb6 MDL-17037 Lossless optimization of all PNG and JPEG images 2008-10-28 01:50:10 +00:00
skodak
beaa43db85 MDL-17036 dml: dbpersist moved into dboptions 2008-10-27 22:21:34 +00:00
skodak
298d9250d9 MDL-17020 dml: native pgsql driver - fixed wrong handling of binary fields in get_column() 2008-10-27 21:57:45 +00:00
skodak
2958a49b75 MDL-17020 dml: native pgsql driver - transactions minor changes 2008-10-27 20:59:21 +00:00
skodak
fa76662bb2 MDL-14679 dml/native_mysqli transactions support 2008-10-27 20:58:37 +00:00
skodak
fb76304b3b MDL-17020 dml: native pgsql driver - implementation and unittests of transactions 2008-10-27 20:21:04 +00:00
skodak
0bd364c1d7 MDL-17020 dml: native pgsql driver - ddl unittest more robust - fixed typo, thanks ELoy! 2008-10-27 15:54:36 +00:00
skodak
a65b0be43f MDL-17020 dml: native pgsql driver - ddl unittest more robust 2008-10-27 15:50:32 +00:00
skodak
d246cdd2f9 MDL-17020 dml: native pgsql driver - support for bytea updating 2008-10-27 15:42:52 +00:00
skodak
db7aea3818 MDL-17020 dml: native pgsql driver - support for bytea reading 2008-10-27 15:31:11 +00:00