Commit graph

54486 commits

Author SHA1 Message Date
Marina Glancy
d1d186917c MDL-31901: moved filepicker html to files/renderer.php, pass templates once per page 2012-05-21 11:57:52 +08:00
Marina Glancy
906e7d89a5 MDL-31901: user renderer for filemanager, decrease html generation in filemanager.js and dndupload.js 2012-05-21 11:57:52 +08:00
Marina Glancy
830acea6c1 MDL-31901: show shorttile instead of title where applicable 2012-05-21 11:57:52 +08:00
Marina Glancy
ce3eeb98f1 MDL-32473,MDL-32471: Lazy loading of next page and image thumbnails when scrolling 2012-05-21 11:57:52 +08:00
Marina Glancy
7ccf18a629 MDL-31901: Simple loading of the next page, migrating to YUI 3.5.0
- instead of using paging bar and navigating between pages, there is a link 'more' in the bottom of the list that loads the files from the next page and adds them to the bottom of the list;
- DataTable is updated to YUI 3.5.0, sorting is done properly
2012-05-21 11:57:52 +08:00
Marina Glancy
b92241f280 MDL-31901: Changing interface of file picker, use renderers:
- Filepicker window is now resizable and draggable;
- filepicker&renderer: removed id substitution from renderer, replaced it with classes (better readability);
- filepicker: allowed tree and table view for search results;
- filepicker: fixed small bug with displaying external link checkbox
- filepicker: display additional information about file in select window, repository returns more formatted information
2012-05-21 11:57:51 +08:00
Marina Glancy
5bdf63cce0 MDL-14636: Support table view in Filepicker, provide more info about files
- Added table view in Filepicker where for each file we show Name, Last modified, Size and Type. Sortable by column
- Preprocess list of files returned from repositories to include formatted size, dates, type and also add filetype icon
- Make sure that local repositories (coursefiles, filesystem, local, recent, user) return information about file size, datemodified, datecreated, author, license
2012-05-21 11:57:51 +08:00
Marina Glancy
2f6749f4bf MDL-32083: Filepicker tree view should display folders starting from top
- path bar is not displayed in tree view mode
 - display (and load) hierarchy of folders above the current - take it from path and load siblings
 - make sure the current folder is remembered when navigating between folders in tree view so it remains when switching to other view mode
 - fix couple of small bugs caused by previous changes in MDL-31901
2012-05-21 11:57:51 +08:00
Marina Glancy
3a1e425b7f MDL-31901: Modifying filepicker to use renderers
- fixed some small errors and made cosmetic changes to the code
- added 'loading' icon when selecting a file
- finished population of login form, added support for radio elements there
2012-05-21 11:57:51 +08:00
Marina Glancy
5ce13292b5 MDL-31901: Filepicker: Moved HTML for loginform into renderer 2012-05-21 11:57:51 +08:00
Marina Glancy
b5e7b6385e MDL-31901: Introducing renderers for filepicker:
- create repository renderer, implement functions for returning HTML templates used in filepicker
- let filepicker use HTML from templates
- move CSS for filemanager and filepicker to the separate css file in base theme
- use only YUI3 in filepicker (get rid of YUI2)
- add button for 'View details' in filepicker (though this view mode is still not ready)
2012-05-21 11:57:51 +08:00
Marina Glancy
4adecd7beb MDL-31901: brushing the filepicker code
- use the same function for displaying request result for list/search/login/logout commands since sometimes we can not predict what kind of result is going to be returned
- prevent default behaviour for links, so ### does not appear in URL
- use flag issearchresult as received in the response from repository because we can't guess it right sometimes
- do not make excessive AJAX request when user switches to list view
2012-05-21 11:57:51 +08:00
Dongsheng Cai
6723372514 MDL-28666 Extends repository to support references
1. Allow repository to create references to external contents
2. Extends files API to handle file references
3. Generic file caching
4. Backup/restore file references
5. Download external contents if repository uninstalled
6. Allow filepicker to display iframe
7. PHPUnit test suits
2012-05-21 11:57:51 +08:00
Rajesh Taneja
f2bfe26aea MDL-27120 backup: fixed docblock and code cleanup 2012-05-21 11:02:16 +08:00
Tony Levi
0c99b72299 MDL-27120: Cache DB operations in restore_dbops 2012-05-21 11:02:16 +08:00
Tony Levi
55f6d9d378 MDL-27120: Cache dirname transformations in progressive_parser::dirname 2012-05-21 11:02:16 +08:00
Adam Olley
16bf868513 mdl-27120 Fix static cache for backup_xml_transformer::register_link_encoders() 2012-05-21 11:02:16 +08:00
Jason Ilicic
67bf69416e mdl-27120 Fixed incorrect variable in parameter when adding form dependencies. 2012-05-21 11:02:16 +08:00
Ashley Holman
588605efa6 MDL-27120 Add global cache to backup_xml_transformer::register_link_encoders() 2012-05-21 11:02:16 +08:00
Ashley Holman
01ab87feda MDL-27120 More efficient use of QuickForms in backup UI 2012-05-21 11:02:16 +08:00
Ashley Holman
9e4b9a00cc MDL-27120 backup: replace sequential scan search with hash-based lookup. 2012-05-21 11:02:16 +08:00
Andrew Davis
728ff21b9f MDL-32860 grade: refactored graded_users_iterator 2012-05-21 09:11:25 +07:00
Sam Hemelryk
2cd972c1c6 MDL-32709 Pre-integration trivial clean up
* Added a comment for the BOOK_NUM_* defines.
* Fixed broken redirects in tool/importhtml/index.php
* Fixed typo in book_preload_chapters [subchpaters => subchapters]
* Fixed copy paste docblock error in tool/print/locallib.php
* Removed the .gitignore file as Eloy had previously mentioned that.
2012-05-21 14:06:00 +12:00
Eloy Lafuente (stronk7)
079be74dd5 MDL-32709 book: finish coding style review (errors only) 2012-05-21 01:50:20 +02:00
Eloy Lafuente (stronk7)
a1448fc012 MDL-32709 book: fix send_stored_file() call 2012-05-21 01:27:40 +02:00
Eloy Lafuente (stronk7)
9717aa2ddd MDL-32709 book: delete some not needed stuff 2012-05-21 01:26:52 +02:00
Eloy Lafuente (stronk7)
f7e6dd4d41 MDL-32709 book: now standard module + new strings added
Note the lang file is completely disordered yet
2012-05-21 00:54:53 +02:00
Eloy Lafuente (stronk7)
a87aa28d51 MDL-32709 book: Fix logs handling 2012-05-21 00:33:58 +02:00
Mary Evans
fc11586b03 MDL-33118 theme_mymobile: changed MAIN_CONTENT_TOKEN in layout/embedded.php to new format 2012-05-20 22:37:54 +01:00
Eloy Lafuente (stronk7)
b9a363548d MDL-32709 book: DB definition & upgrade cleanup 2012-05-20 21:48:07 +02:00
Eloy Lafuente (stronk7)
29656fe24b MDL-32709 book: coding style, deprecated and minor fixes 2012-05-20 21:47:58 +02:00
Eloy Lafuente (stronk7)
1fc9e895ef MDL-32709 book: replace some deprecated stuff. Some pending yet, blame $PAGE 2012-05-20 21:47:50 +02:00
Eloy Lafuente (stronk7)
98cef39d28 MDL-32709 book: Add some missing MOODLE_INTERNALs 2012-05-20 21:47:38 +02:00
Eloy Lafuente (stronk7)
3542c4f4a9 MDL-32709 book: general comments and phpdocs cleanup 2012-05-20 21:47:29 +02:00
Eloy Lafuente (stronk7)
e81c01b676 Subtree merged git://github.com/skodak/moodle-mod_book.git (master branch) into mod/book 2012-05-20 21:43:40 +02:00
Vadim Dvorovenko
5429460127 MDL-26562 2012-05-20 19:44:32 +07:00
Rex Lorenzo
ae11631886 MDL-33090 - Missing strings in XMLDB editor - added in missing strings 2012-05-19 21:27:38 -07:00
Mary Evans
b3d5a51a8d MDL-33110 themes: removed redundent boilerplate.css from Boxxie and all layout files from Serenity. 2012-05-20 01:15:25 +01:00
Petr Skoda
65f78adf42 MDL-27575 use new skype call URI
As described in official Skype page at http://www.skype.com/intl/en-us/tell-a-friend/get-a-skype-button/
2012-05-19 20:48:48 +02:00
Petr Skoda
103f34d88d MDL-32379 fix forum cron user caching 2012-05-19 18:56:19 +02:00
Petr Skoda
fb1ec806c5 MDL-32564 fix admin/timezone.php page setup 2012-05-19 18:52:58 +02:00
Petr Skoda
8b5d2864ab MDL-32972 keep gif transparency when processing user avatar images 2012-05-19 18:47:23 +02:00
Petr Skoda
33d9f44bc6 MDL-18763 add 512x512px user avatar support 2012-05-19 18:47:23 +02:00
Petr Skoda
dfa6a34638 MDL-33034 some more accesslib tests
It is not complete yet, but it should be enough to verify patch in MDL-8249 works properly.
2012-05-19 18:40:32 +02:00
Petr Skoda
f32ecd2fbe MDL-33075 find correct location of failed test case classes 2012-05-19 18:38:51 +02:00
Eloy Lafuente (stronk7)
4f7f2a8828 weekly release 2.3dev 2012-05-19 12:24:31 +02:00
Eloy Lafuente (stronk7)
5204c07bd4 Merge branch 'install_master' of git://github.com/amosbot/moodle 2012-05-19 12:17:09 +02:00
AMOS bot
f348b9dac6 Automatically generated installer lang files 2012-05-19 00:31:42 +00:00
Eloy Lafuente (stronk7)
128af10645 MDL-32005 Avoid some notices restoring old backup files without idnumber 2012-05-18 13:36:03 +02:00
Dan Poltawski
4a3d07972c Merge branch 'MDL-30617-master-patches' of git://git.luns.net.uk/moodle 2012-05-18 17:40:33 +08:00