sam marshall
347e663814
MDL-41147 Restore: Large course fails due to time limit when unzipping
2013-09-05 17:22:30 +01:00
sam marshall
7b4dbf0fa2
MDL-41163 Restore: Large course restore timeout on schema page
2013-09-05 17:06:59 +01:00
Eloy Lafuente (stronk7)
df7995e3a0
Merge branch 'MDL-41146-master' of git://github.com/sammarshallou/moodle
2013-09-04 01:01:19 +02:00
Eloy Lafuente (stronk7)
58c80b03a8
Merge branch 'MDL-40566_master' of git://github.com/dmonllao/moodle
2013-09-03 20:38:53 +02:00
Damyon Wiese
be62e59a93
Merge branch 'mdl26_MDL-41403_backup_reduce_memory_usage' of https://github.com/brki/moodle
2013-09-03 16:18:36 +08:00
David Monllao
fcc0b5b920
MDL-40566 behat: Update features using the new options
2013-09-03 10:31:57 +08:00
Eloy Lafuente (stronk7)
e034d84c48
Merge branch 'MDL-38190-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
backup/import.php
theme/bootstrapbase/style/moodle.css
2013-09-02 16:56:50 +02:00
Brian King
07dffdf5f5
MDL-41403 Backup: reduce memory usage when searching for courses / categories
...
Also makes a few existing comments in the changed code area adhere to coding standards.
2013-08-28 12:59:16 +02:00
Damyon Wiese
37e2954e19
Merge branch 'MDL-41401-master' of git://github.com/danpoltawski/moodle
2013-08-27 15:09:21 +08:00
Damyon Wiese
a6163e7a5f
MDL-31093 Scorm course format: Remove behat tests
...
The scorm course format has been removed so we don't need to test it anymore.
2013-08-27 13:26:47 +08:00
Dan Poltawski
e820d50791
Merge branch 'MDL-37211_master' of https://github.com/nadavkav/moodle
2013-08-27 11:54:28 +08:00
Dan Poltawski
007cbfe03e
MDL-41401 backup: fix misnamed test method
2013-08-23 15:09:12 +08:00
Mark Nelson
6d8627cb6b
MDL-36126 backup: changed the message column in the table backup_logs to a text field to prevent DB errors
2013-08-23 11:40:36 +08:00
Damyon Wiese
74df2951d1
Revert "MDL-39876 Change get_record('course') calls to get_course"
...
This reverts commit ab7632b74c
.
2013-08-21 13:42:30 +08:00
Sam Hemelryk
6eee89bc8f
Merge branch 'MDL-39876-master' of git://github.com/sammarshallou/moodle
...
Conflicts:
course/lib.php
2013-08-21 12:08:46 +12:00
Dan Poltawski
91a888df34
Merge branch 'MDL-39957_master' of https://github.com/markn86/moodle
2013-08-20 12:38:08 +08:00
sam marshall
f06abc2ac1
MDL-38190 (3) Backup/restore: Progress display in main user interface
2013-08-16 16:28:04 +01:00
sam marshall
2531ae2922
MDL-38190 (2) Backup/restore: Progress tracking for tasks and steps
2013-08-16 10:50:36 +01:00
sam marshall
16cd708835
MDL-38190 (1) Backup/restore: Progress tracking API
2013-08-16 10:50:35 +01:00
Nadav Kavalerchik
1a46c81c87
MDL-37211 Backup: Migrate hard-coded strings to language string for the table header labels on the restore page
2013-08-16 12:24:10 +03:00
sam marshall
ab7632b74c
MDL-39876 Change get_record('course') calls to get_course
2013-08-15 11:31:20 +01:00
Mark Nelson
a4003c733a
MDL-39957 course: replaced the course_restored legacy event
2013-08-15 18:14:08 +08:00
sam marshall
07e720010a
MDL-41146 Backup: backup_includes_files can leak memory
2013-08-12 13:49:26 +01:00
Petr Škoda
96f81ea385
MDL-39474 introduce $CFG->debugdeveloper and cleanup $CFG init
2013-08-12 13:01:47 +02:00
Petr Škoda
2f1e464a88
MDL-40438 migrate all collatorlib:: and textlib:: uses
2013-08-06 21:04:35 +02:00
Sam Hemelryk
e5de4933b0
MDL-39814 frontend: redeveloped overlay to correct tab-flow
...
Also:
* fixed zindex issue + spinner placement
* added notes to course format and theme upgrade texts
* fixed behat tests after action menu changes
2013-07-30 16:15:19 +12:00
Dan Poltawski
50aa2587a4
Merge branch 'MDL-40618_restore_get_questions' of https://github.com/mr-russ/moodle
2013-07-29 14:14:58 +08:00
Eloy Lafuente (stronk7)
154bc6b240
Merge branch 'w30_MDL-40642_m26_umask' of https://github.com/skodak/moodle
2013-07-23 23:42:11 +02:00
Russell Smith
3e7e2ab2ee
MDL-40618 backup: centralize info field, use info in queries.
...
encode_backup_temp_info() and decode_backup_temp_info() have been
introduced to keep the info field encoding in one place.
Many locations used get_backup_ids_record() to obtain info, that
makes lots of calls to get_backup_ids_record() which can be slow.
We now complete all those inline by adding the info field to the query.
To reduce memory usage, all queries of that nature have been changed
to use get_recordset_*. gzcompress was introduced if available to minimize
traffic to/from the database and to decrease the memory required for caching.
The compression time is saved by the benefits in other places of having smaller data.
2013-07-23 19:50:53 +10:00
Dan Poltawski
a0035108b0
MDL-40585 fix trailing whitespace
2013-07-23 13:33:49 +08:00
Dan Poltawski
33b6da7f59
Merge branch 'MDL-40585_grouped_parent_exists' of git://github.com/mr-russ/moodle
2013-07-23 13:33:27 +08:00
Dan Poltawski
3ee8607d46
Merge branch 'MDL-40584' of https://github.com/mr-russ/moodle
2013-07-23 12:35:41 +08:00
David Monllao
3897608152
MDL-39635 behat: XPath cleanups
...
- Escaping steps arguments redirected to other steps
- Adding normalized-space() in all contains() assertions
- General xpaths review
- Convering provided xpath text strings to xpath literals
to avoid problems with arguments containing both single
quotes and double quotes
2013-07-19 10:02:36 +02:00
David Monllao
dedb973878
MDL-39635 behat: Replacing hardcoded language strings
...
Using get_string() instead.
2013-07-19 10:02:10 +02:00
Petr Škoda
eb459f7192
MDL-40642 set more restrictive umask and use proper permission for new dirs and files
2013-07-19 09:18:44 +02:00
Eloy Lafuente (stronk7)
fb1788c598
Merge branch 'MDL-40424-master' of git://github.com/FMCorz/moodle
...
Conflicts:
admin/oacleanup.php
2013-07-17 01:21:51 +02:00
Petr Škoda
bd3b3bba9f
MDL-40220 use new core_component::get_plugin_list()
2013-07-16 22:36:11 +02:00
Petr Škoda
46f6f7f224
MDL-40220 use new core_component::get_plugin_types()
2013-07-16 22:31:48 +02:00
Russell Smith
42574d0900
MDL-40584 backup: Query db once per category in precheck
...
The cache is function local and testing against a large database
indicates 10k questions is a large category. Restore already
uses MEMORY_EXTRA and that will have enough space for the couple
of megabtyes a local sql hash will introduce.
2013-07-15 16:44:45 +10:00
Damyon Wiese
d7bf5fd1f7
Merge branch 'MDL-40440-m' of git://github.com/andrewnicols/moodle
2013-07-15 14:42:10 +08:00
Russell Smith
f27cb59c36
MDL-40585 backup: cache XML parent paths
...
For $this->groupedpaths, using a key is faster as there is
no need to do in_array searches.
Parent cache allows dirname calls to be substantially reduced.
2048 was chosen as a cache size as this class operates on chunks
of the restore at a time, 8k questions produces a parent cache of
about 500 paths and uses 300K of memory. Scaling up to 2048 will
use about 1.2M of RAM for really large restores. This is acceptable
for the 48% function call reduction and the 10% runtime improvement
seen.
2013-07-15 15:07:35 +10:00
Frederic Massart
2e4c0c9181
MDL-40424 libraries: Deprecate context_instance_preload_sql()
2013-07-12 17:41:49 +08:00
Ankit Agarwal
db314f34fb
MDL-40425 libraries: Remove context_instance_preload() from core
2013-07-09 15:55:51 +08:00
Frederic Massart
8e8891b76b
MDL-40403 libraries: Deprecate get_parent_contexts()
2013-07-09 13:34:44 +08:00
Yuliya Bozhko
2832093f53
MDL-39558 badges: Add backup/restore to course badges
2013-07-03 09:35:06 +08:00
Andrew Nicols
100360f96c
MDL-40440 Backup: Skip files that already exist
2013-07-02 11:13:03 +01:00
Sam Hemelryk
11fb83fee8
Merge branch 'MDL-40109_master-fix' of git://github.com/dmonllao/moodle
2013-06-19 14:06:41 +12:00
David Monllao
2532b034f4
MDL-40109 behat: Fixing backup feature
2013-06-19 08:53:08 +08:00
Eloy Lafuente (stronk7)
d745d2d45e
MDL-40103 Now xmldb code matches original templates 100%
...
There were still some differences between the php code
used in the issue and the php code generated by the
xmldb editor for the template tables. This commit put
both 100% in sync.
2013-06-18 15:22:51 +02:00
Dan Poltawski
6ef007def6
Merge branch 'MDL-37761-m' of git://github.com/andrewnicols/moodle
2013-06-18 16:47:18 +08:00