Commit graph

2546 commits

Author SHA1 Message Date
thepurpleblob
eed6bf497f Yes, another stupid typo. 2005-06-13 19:07:15 +00:00
thepurpleblob
84a422500e Whoops. Typo! 2005-06-13 16:24:47 +00:00
thepurpleblob
614cd5355a Added utility function object_property_exists() 2005-06-13 16:23:10 +00:00
defacer
b33dd23adc Merging from STABLE:
Implementing Dan Marsden's great idea for additional hooks when block
instances are deleted (bug 3446). Going a step further and adding hooks
for when block instances are created.
2005-06-13 03:32:31 +00:00
defacer
34137668b5 Adding a little more checking to the session switching trap code.
I 've come across a problem where:

1. You have an "old" (say 1.3.5?) Moodle installation.
2. You are logged in as admin.
3. You suddenly switch to using a 1.5+ codebase with
   the SAME database, WITHOUT LOGGING OUT FIRST.

In this situation, I was presented with a deadlock. I could not do
anything because "my session had expired", and I could not even
log OUT to clear my session. In fact it was just reloading the
"session expired page" all the time.

If it weren't for debug = On which causes a notice in these
circumstances, it would be fracking difficult to understand what
was going on.

With this small addition, you can at least visit your login page
and log in anew, so problem fixed.

I believe this was talked about in the forums lately? Not sure.


(Also merging Martin's theme standard -> standardwhite change)
2005-06-13 02:56:37 +00:00
mjollnir_
e67755a1b0 Merged from MOODLE_15_STABLE: Email bounce handling: fixing md5 validation bug 2005-06-13 00:17:16 +00:00
moodler
e3804ec7e1 Merged from stable 2005-06-11 19:00:23 +00:00
julmis
86d5a066ae Merging from MOODLE_15_STABLE
- cut 'n' paste fix
2005-06-11 11:05:29 +00:00
julmis
5c9cf710c6 Merging from MOODLE_15_STABLE 2005-06-10 17:18:54 +00:00
thepurpleblob
7a530277ef Added isset_param() convenience function to test if a param is set.
To get the nasty activity in one place and to improve code readability.
2005-06-10 09:51:25 +00:00
thepurpleblob
8ee1b0afab Removed assert_var_exists() function that did nothing useful. 2005-06-10 09:11:07 +00:00
thepurpleblob
373da1d463 Added $CFG->disableglobalshack option for testing 'register_globals' free code
Also kills require_variable() and optional_variable() if true
(effectively kills Moodle dead - if true - at the moment!)
2005-06-10 08:55:26 +00:00
moodler
338cfbb8f1 Commented out hover hack ... see bug 3453 2005-06-09 21:10:56 +00:00
thepurpleblob
b78fbdac9d changes merged from STABLE 2005-06-09 14:04:38 +00:00
thepurpleblob
3a61ccbe0a Merged changes from STABLE 2005-06-07 12:37:44 +00:00
martinlanghoff
967f5f4b12 Merged from MOODLE_15_STABLE - Fixes db upgrade for config_plugins failure on unquoted data - discussed at http://moodle.org/mod/forum/discuss.php?d=25122 2005-06-07 03:41:52 +00:00
moodler
d046ae55ad Merged $CFG->allowobjectembed from stable 2005-06-05 05:40:24 +00:00
defacer
91bb59f49f Merging from STABLE:
Added function that exports current selection for first/last initial
Added extra CSS class to initial bars (can now differentiate first/last)
2005-06-03 22:48:07 +00:00
moodler
6283105094 Complete the removal of Attendance from the main CVS tree (on HEAD) 2005-06-02 14:51:50 +00:00
martinlanghoff
a40803130b Per-auth-backend field locks support. Merged from MOODLE_15_STABLE
* Extended set_config()
 * Implemented get_config() which takes over $CFG loading in setup.php
 * admin/auth.php has special handling if post vars starting in pluginconfig_
 * admin/auth.php print_auth_lock_options() prints a form fragment -- being called from most plugins now
 *  user/edit.php follows the new convention when locking down fields, both javascript UI and on POST.
 * admin/auth: More solid checking for auth GET/POST var.
 * admin/auth: print_auth_lock_options() now handles user field mapping options for LDAP and similar modules
 * admin/auth: user mapping options have moved to config_plugins table
 * auth/ldap module has migrated to using new field mapping vars -- simplified config.html a lot
 * auth settings migration to config_plugins
2005-06-02 05:39:41 +00:00
moodler
f74a733d0d Fix for SC122 2005-05-31 04:34:06 +00:00
mjollnir_
2019116ea9 Merged from MOODLE_15_STABLE: Fixing up problem in generate_email_processing_address -- using sitesecret rather than siteidentifier 2005-05-30 23:26:17 +00:00
martinlanghoff
d13325d4c8 Merged from MOODLE_15_STABLE - Fixed field lenght in config_plugins 2005-05-30 22:36:01 +00:00
moodler
50ab1dfae8 Merged mail fix from 1.5 stable 2005-05-30 18:10:57 +00:00
martinlanghoff
a13e99bd67 Merged from MOODLE_15_STABLE - Created config_plugins table to manage configuration entries on a per-module/plugin. This breaks the rules a little bit, but it has been discussed with MD. 2005-05-30 05:22:07 +00:00
stronk7
7eec33905f format_string() applied one deleting courses... 2005-05-29 17:27:00 +00:00
defacer
e2ba85e99c Merging from STABLE:
Now tablelib allows the GET variables that control sorting etc. to be
configured. Essential in order to allow two independent tables in the same
screen, which is required for /user/index.php.
2005-05-28 21:24:46 +00:00
moodler
c6a4e7e592 Merged ignoresesskey from stable 2005-05-28 14:03:32 +00:00
moodler
f941df22a0 Added mms as a protocol 2005-05-28 13:28:20 +00:00
moodler
7c7ca1b5ba Merged fix from stable 2005-05-28 06:39:38 +00:00
moodler
382648f4c9 Some old checkin 2005-05-23 17:04:42 +00:00
moodler
255804071d Custom pix work again .... bug 3319 2005-05-22 15:34:07 +00:00
moodler
ee4a29b417 Updated version frm new olson code 2005-05-22 10:38:07 +00:00
martinlanghoff
3f8701ba14 Fixed handling of zones with no pre 1970 entries. Strange bug identified and fixed by Jon. 2005-05-22 09:15:52 +00:00
dhawes
f4065b8c41 New argument added to the print_paging_bar() function of weblib. A new argument was added. You can now specify a var name other than 'page' as the variable to be attached to your baseurl. This function's phpdoc comments were updated. 2005-05-22 00:50:37 +00:00
moodler
bd83ce0789 Just the base class, other files to be added 2005-05-21 15:58:57 +00:00
moodler
8a54c92ee4 Updated with new data 2005-05-21 06:22:39 +00:00
stronk7
dc3b522580 Latest speed improvement for link filters (more noticeable under PHP4). Bug 3138.
(http://moodle.org/bugs/bug.php?op=show&bugid=3138)
2005-05-21 00:22:14 +00:00
martinlanghoff
b9bb37f30d get_list_of_timezones() - backed out optimization in sorting at the database; we need to sort the translated names, not the db names. Thanks Jon for the heads up. 2005-05-20 00:50:45 +00:00
martinlanghoff
7641e51553 get_list_of_timezones() - fix to usage of GROUP BY (fixes Postgres support) and optimization in sorting at the database. By Patrick Li 2005-05-20 00:14:32 +00:00
martinlanghoff
31df0bb83c Merged from MOODLE_14_STABLE - Better DB errors debug traces from Patrick Li 2005-05-19 21:59:00 +00:00
martinlanghoff
9feb9a19d6 Typo in table_column() breaks field renaming under postgres -- credit for the patch goes to Patrick Li 2005-05-19 05:08:03 +00:00
martinlanghoff
6227e876f6 olson_simple_rule_parser() now adds a reset rule to rulesets where the last rule has a defined TO field that marks where it ends. This tonge-twister means that Asia/Seoul should see the 1987 DST rule deactivated correctly in modern times. Discussed in http://moodle.org/mod/forum/discuss.php?d=23957 2005-05-18 07:53:45 +00:00
defacer
4541e897cb The particulars for the Manage Feeds page finalized. Old code removed. 2005-05-18 00:49:45 +00:00
defacer
9e0f2a43dc Switching feed dislay table to use the new table class.
Fixed some HTML, removed inline styles. Next stop: theme stylesheets.
2005-05-17 23:35:58 +00:00
moodler
a1dcc526e0 Fixed strings 2005-05-17 15:45:54 +00:00
defacer
b011f733bf Fix for bug 2635:
The "current blocks code older than the one that made the database" message
tweaked so that it's different from the corresponding Moodle core warning.
2005-05-17 15:28:06 +00:00
moodler
5a502b7e2e Sort feeds by name 2005-05-17 13:54:15 +00:00
urs_hunkler
fd0fc54333 I found a newer version (was 1.21 is now 1.30) 2005-05-17 13:03:34 +00:00
urs_hunkler
3b32704597 The tabs do not show the CSS rollover in MSIE. With the behavior "csshover.htc" MSIE behaves as the other browsers. I added the code to load this behavior via CSS to "javascript.php", because I think this is the best place to handle the behavioral layer of moodle. Perhaps it makes sense to rename it to "behavior.php"??? 2005-05-17 07:06:58 +00:00