Commit graph

29824 commits

Author SHA1 Message Date
martinlanghoff
26843e106b accesslib: get_user_by_capability() - First, handle simple cases
This patch reorganises the conditions and field handling so
we can spot if this is a call we can resolve in a single SQL
query that we just pass back the results.

If there are any PREVENTs or PROHIBITs, we need to delve into
more involved stuff...

MDL-12452
2008-01-06 23:22:26 +00:00
martinlanghoff
987e745442 accesslib: revert changes to get_users_by_capability() - MDL-12452 MDL-12451
The changes made by Yu and Tim are superceded by the patches that
follow -- and would not apply cleanly without this revert.
2008-01-06 23:22:08 +00:00
martinlanghoff
b1df0eb2ce lib/setup: restore sanity to rcache handling
$CFG->rcache is safe to keep, even as we are reading the config table.

This is because whenever we update the config table, all the rcache
plugins either mark the cache as dirty or they update the cache.

The reason we want to be able to preserve this is that rcache settings
in CFG should usually be set in config.php rather than in the config
table.

With this fix, we support both control points.
2008-01-06 22:56:07 +00:00
martinlanghoff
944a2c938f dmllib:rcache_get()/rcache_set() clone cached records - we do not want magic references here - MDL-12827\n And calling fullclone() with the huge cost in serialize()/unserialize() is not needed. 2008-01-06 22:46:20 +00:00
moodler
002b0c6648 Automatic installer.php lang files by installer_builder (20080106) 2008-01-06 03:12:37 +00:00
thepurpleblob
ca04c711e3 MDL-12701:
Missing string

Merged from STABLE_18
2008-01-04 21:06:39 +00:00
nicolasconnault
7dd512670b MDL-12827 Saving a clone of the $record in the cache instead of the record itself, to avoid referencing 2008-01-04 09:23:42 +00:00
nicolasconnault
98348de3ae MDL-12829 Removed a hard-coded test integer 2008-01-04 09:22:25 +00:00
nicolasconnault
b35a5a701d MDL-12829 Removed a hard-coded test integer 2008-01-04 09:21:32 +00:00
nicolasconnault
df270d4c74 MDL-12829 Applied the sql fix 2008-01-04 06:49:30 +00:00
nicolasconnault
bbc275c142 MDL-12429 Applied and tested Franois' patches to 1.8, 1.9 and head. 2008-01-04 06:46:52 +00:00
nicolasconnault
7734465963 MDL-12429 Applied and tested Franois' patches to 1.8, 1.9 and head. 2008-01-04 06:45:55 +00:00
nicolasconnault
d82b018f77 MDL-12829 Applied the sql fix 2008-01-04 06:24:34 +00:00
moodler
0ef7e7e542 Fixed the navigation on the course assign roles tab MDL-12828 2008-01-04 05:20:00 +00:00
moodler
8ae838f3c0 Automatic installer.php lang files by installer_builder (20080104) 2008-01-04 03:19:13 +00:00
poltawski
017b524a05 MDL-12825 - add some extra height to popups in IE7, otherwise they cant
be used merged from MOODLE_19_STABLE
2008-01-03 22:41:54 +00:00
skodak
3483ea572a MDL-12817 logout before 1.9 upgrade in order to prevent weird upgrade problems; merged from MOODLE_19_STABLE 2008-01-03 16:37:09 +00:00
skodak
8293c75198 MDL-6786 Improved dropping of block and module tables during uninstall; merged from MOODLE_19_STABLE 2008-01-03 15:03:32 +00:00
moodler
1dcfb3a44b Automatic installer.php lang files by installer_builder (20080103) 2008-01-03 03:11:58 +00:00
skodak
df512196f5 MDL-9744 passwork field for ldap bind pw - patch by Iñaki Arenaza; merged from MOODLE_18_STABLE 2008-01-02 22:53:47 +00:00
skodak
a117919527 MDL-10975 enrol_database_sync.php will run even if the plugin is disabled - patch by Braden MacDonald; merged from MOODLE_19_STABLE 2008-01-02 22:36:31 +00:00
skodak
bc37088926 MDL-11471 adodb 4.96a import; merged from MOODLE_19_STABLE 2008-01-02 18:49:00 +00:00
stronk7
35107f8636 Respect case of enumvalues. MDL-12803 ; Merged from MOODLE_19_STABLE 2008-01-02 16:49:11 +00:00
skodak
7c09710cbf MDL-12796 iplookup rewrite 2008-01-02 16:47:57 +00:00
poltawski
25c3f91a52 MDL-12789 - dont unnecessarily iterate over all groups 2008-01-01 23:03:48 +00:00
skodak
e9c0fa35f4 MDL-12794 admin setting for file location; merged from MOODLE_19_STABLE 2008-01-01 22:25:11 +00:00
skodak
3e475991f9 MDL-12793 PARAM_HOST incorrect cleaning; merged from MOODLE_19_STABLE 2008-01-01 17:23:05 +00:00
skodak
587c7040f5 MDL-12790 highlighting in admin search results breaks html
MDL-12791 add defaults parameter to format_admin_setting()
MDL-12792 search in admin settings and defaults
+ minor speedup of fast highlighting and fixed empty span tags

merged from MOODLE_19_STABLE
2008-01-01 15:51:54 +00:00
poltawski
3caca2b282 just tweaking comment for easy greppage 2008-01-01 15:30:57 +00:00
stronk7
0f62a5b5bb Better behaviour for "-" course searches under MSSQL and Oracle. MDL-7312 ; merged from 19_STABLE 2008-01-01 12:03:00 +00:00
moodler
8edf2cdce3 Automatic installer.php lang files by installer_builder (20080101) 2008-01-01 03:03:40 +00:00
skodak
599f06cff1 MDL-11845 fixed security issues in curl related code in new download_file_content() + minor fixes in Snoopy; merged from MOODLE_19_STABLE 2007-12-31 23:18:06 +00:00
skodak
407d81349c MDL-12786 admin search in configselect choices; merged from MOODLE_19_STABLE 2007-12-31 15:55:36 +00:00
skodak
6bf55889dd MDL-12782 magpie now uses download_file_content() - that should solve several remote RSS issues including proxy user/password + several download_file_content() improvements + other minor fixes; merged from MOODLE_19_STABLE 2007-12-31 15:37:12 +00:00
stronk7
9156f58a1a Correct timezones listing when importing olson files ; merged from 19_STABLE 2007-12-31 15:25:27 +00:00
stronk7
a599aeebe5 Prevent some debugging notices, cast to object before inserting. Merged from 19_STABLE 2007-12-31 15:20:02 +00:00
stronk7
4ae7df39ee Moving from old "timezones" location to the new "timezone" one. MDL-12024 ; merged from 19_STABLE 2007-12-31 15:08:08 +00:00
poltawski
848917d17f MDL-12777 - no longer the second option, so tweak language
merged from MOODLE_19_STABLE
2007-12-31 15:03:32 +00:00
stronk7
a2717fd721 1976 rules from 2007j Olson files. MDL-12024 ; merged from 19_STABLE 2007-12-31 13:23:23 +00:00
moodler
fa703a5ff7 Automatic installer.php lang files by installer_builder (20071231) 2007-12-31 03:07:34 +00:00
stronk7
4070a1a4ce Missed this in my previous commit. MDL-12698 ; merged from 19_STABLE 2007-12-31 01:10:54 +00:00
stronk7
f85236dc76 Change some constants to avoid name collisions. MDL-12698 ; Merged from MOODLE_19_STABLE 2007-12-31 01:07:49 +00:00
poltawski
ee3501f124 MDL-11845 - use the http 1.0 'Moved Temporarily' rather than unhelpful 'Found'
merged from MOODLE_19_STABLE
2007-12-30 23:10:42 +00:00
skodak
cd9f96a845 MDL-11830 a bit bigger button in login block, removing colons and adding css spacing; merged from MOODLE_19_STABLE 2007-12-30 22:55:10 +00:00
skodak
76bd786d3f MDL-12698, MDL-12569 - fixed inline docs; merged from MOODLE_19_STABLE 2007-12-30 22:36:16 +00:00
skodak
8cad6cca87 MDL-12775 PARAM_INT value '' automatically converted to 0 in configtext settings; merged from MOODLE_19_STABLE 2007-12-30 22:30:46 +00:00
skodak
eb7f78afb1 MDL-11845 unmask password field type for proxy url - thanks Dan for reminding me; merged from MOODLE_19_STABLE 2007-12-30 22:25:16 +00:00
skodak
a7d43f0d15 MDL-12698, MDL-12569 - componentlib & langimport improvements and fixes; merged from MOODLE_19_STABLE 2007-12-30 22:19:36 +00:00
skodak
5f8bdc17a8 MDL-11845 removing curl emulation library, snoopy has better support for proxies and seems to be more reliable on different platforms; spelling correction cURL instead of Curl; adding all proxy admin settings; better debug messages for file downloading; SOCKS5 proxy support; merged from MOODLE_19_STABLE 2007-12-30 19:42:51 +00:00
skodak
e33fbf87ed MDL-12774 allow returning of errors from admin configtext settings; merged from MOODLE_19_STABLE 2007-12-30 17:59:17 +00:00