Commit graph

1812 commits

Author SHA1 Message Date
Damyon Wiese
fd782261de MDL-39851 javascript: Fixes for filepicker dialogs
Fixes display issues with the filepicker dialogs that were
converted to M.core.dialogue.

Note: These dialogue use table based layouts and the table width is not
counted in the form that it sits in. I have changed the dialogues to have
a wider width but for really small screens this causes horizontal scrolling.

The only solution for that is to rewrite all the filepicker/filemanager dialogs
to use css for layout.
2013-08-15 10:52:24 +08:00
Rossiani Wijaya
d8817b4a7f MDL-41200 Filepicker: Reduce the string length to fit the dialog size nicely. 2013-08-15 10:38:58 +08:00
Rossiani Wijaya
0a5c86ddef MDL-41200 filepicker: change header string to select.
Add length limitation for header, so it fits nicely in mobile devices
2013-08-15 10:28:56 +08:00
Damyon Wiese
ae19c68c9c MDL-39851 javascript: More behat fixes for filepicker changes. 2013-08-14 17:12:03 +08:00
Dan Poltawski
7e9ab93199 MDL-40709 skydrive: filter files by accepted types
This means images will only be shown in the image picker, videos
in the video picker - etc.
2013-08-14 15:56:58 +08:00
Damyon Wiese
bf7c86cfcf MDL-39851 M.core.dialogue: Various fixes
Items addressed
* Get rid of custom attribute srcNode
* Change extraClasses to a config only parameter.
* Change attribute fullscreen to a method.
* Restore the original window overflow value.
* Use setStyles instead of setStyle for performance.
* Tinymce end the zindex wars
* Prevent fullscreen dialogs in an iframe (tinymce managefiles plugin).
* tinymce: Cross browser fix for zindex on popups
* Use CSS for overflow changes (easier to keep track of the previous state).
* Fix Coding style for css changes
2013-08-13 10:42:01 +08:00
Damyon Wiese
d61c96b6b4 MDL-39851 javascript: Full screen dialogs on small screens
This change adds support to M.core.dialogue for showing fullscreen
dialogs on small screen sizes. There are 2 new configuration values that
can be set to control this when creating a dialog (responsive and responsiveWidth).

Setting responsive to false will disable this functionality completely (old behaviour).
Setting responsiveWidth controls the screen width that the dialog will switch to
fullscreen mode. Try not to think of the device that will be accessing the dialog,
but the width at which the content of the dialog needs to be displayed differently.

The activity chooser and the filepicker are the two dialogs that have been converted
in this patch. The filepicker first had to be converted to use M.core.dialog and not
Y.Panel.
2013-08-13 10:37:32 +08:00
Sam Hemelryk
23b7f1dfcf Merge branch 'MDL-41033' of git://github.com/rwijaya/moodle 2013-08-13 09:24:12 +12:00
Sam Hemelryk
3ad7a71e1f NOBUG: fixed whitespace 2013-08-13 08:41:09 +12:00
Sam Hemelryk
8fa5ad6212 Merge branch 'MDL-35931-master' of git://github.com/phalacee/moodle 2013-08-13 08:38:33 +12:00
Rossiani Wijaya
f2e4da6876 MDL-41033 Filepicker: add ARIA attributes for selecting file in a modal 2013-08-09 10:56:21 +08:00
Jason Fowler
ee4ab9759e MDL-35931 Accessibility - adding focus change when repository is selected 2013-08-08 10:52:04 +08:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Petr Škoda
8252b7c291 MDL-40901 standardise core test case class and file names
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Frederic Massart
d72d541db5 MDL-40615 Repository: Updated Amazon S3 library
Fixed insecure use of CURLOPT_SSL_VERIFYHOST
2013-07-30 09:03:59 +12: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
Marina Glancy
1d94557373 MDL-28019 Added plugin repository_areafiles 2013-07-23 14:12:45 +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
Damyon Wiese
06c8b60936 Merge branch 'MDL-40462_master' of https://github.com/markn86/moodle 2013-07-16 15:00:46 +08:00
Dan Poltawski
f6ef724650 MDL-30740 skydrive: improve repo metadata
* Add manage link
* Use realthumbnail for lazy loading images
* Add image height/width info
* Add author information to files
2013-07-15 18:08:18 +08:00
Dan Poltawski
c893448b17 MDL-30740 skydrive: convert muc to defined cache 2013-07-15 18:08:17 +08:00
Dan Poltawski
1757cc9d15 MDL-30740 skydrive: bump version for core inclusion
Remove release name and maturity as these will now be inhereted from
core.
2013-07-15 17:57:43 +08:00
Dan Poltawski
d4fd856b91 MDL-30740 skydrive: Add filepicker navigation bar
In order not to get lost in the Sky.

We use a session cache to reduce repeated calls to the skydrive API,
storing the folder name each time we get a listing.

Original concept from Ruslan Kabalin, thanks!
2013-07-15 17:57:42 +08:00
Ruslan Kabalin
1bb2f42130 MDL-30740 skydrive: show albums as essentially they are "folders"
If you create a folder in SkyDrive and add image to it, it will be calssified
as album and, this will not be listed without this patch.
2013-07-15 17:57:42 +08:00
Dan Poltawski
7446284108 MDL-30740 repository: Add Microsoft Skydrive plugin
Thanks to Universidad Teconológica de Chile (INACAP) who funded this
work initially and LUNS who permitted this to be released open source so
I could continue to work on this.
2013-07-15 17:57:42 +08:00
Mark Nelson
dd33f4af0a MDL-40462 libraries: deprecated get_course_context() 2013-07-11 13:28:45 +08:00
Frederic Massart
c122f484c5 MDL-38366 repository_filesystem: Prevent use of empty subdir 2013-07-10 14:03:46 +08:00
Frederic Massart
a76efbcac8 MDL-38366 repository: get_option() returns proper values
Previously, even when a specific setting had to be returned, this method
would return an empty array. Now, the behaviour is the same whether
some options or none are set: if the requested setting is not found
null is returned.
2013-07-10 14:03:46 +08:00
Sam Hemelryk
a13ee8e18a Merge branch 'MDL-40402-master2' of git://github.com/ankitagarwal/moodle 2013-07-09 14:42:03 +12:00
Damyon Wiese
64830bf658 Merge branch 'MDL-38314-master' of git://github.com/FMCorz/moodle
Conflicts:
	version.php
2013-07-08 15:10:58 +08:00
Ankit Agarwal
0601e0eef6 MDL-40402 libraries: Replace get_system_context() with context_system::instance() in core 2013-07-04 15:41:06 +08:00
Frederic Massart
65ef774544 MDL-38314 repository: Unit Tests for delete_all_for_context() 2013-07-03 15:26:20 +08:00
Frederic Massart
d802435e00 MDL-38314 repository: Delete repository instances on context deletion 2013-07-03 15:26:20 +08:00
Eloy Lafuente (stronk7)
8b180f2317 Merge branch 'MDL-40439-en_fix' of git://github.com/mudrd8mz/moodle 2013-07-02 13:47:09 +02:00
Helen Foster
77fc81f3ee MDL-40439 Merge English strings from the en_fix language pack 2013-07-02 11:42:10 +02:00
Petr Škoda
d534708fd3 MDL-40299 textlib conversion to core_text and core_collator 2013-06-27 22:18:57 +02:00
David Monllao
50eeae5906 MDL-40033 behat: Waiting until file manager is available 2013-06-21 15:37:33 +08:00
Damyon Wiese
ba375bcb17 MDL-39477: Remove some unused instances of $CFG
Also change @since tags to 2.5.1 because this will be backported.
2013-05-28 11:13:52 +08:00
Damyon Wiese
0f1f601368 Merge branch 'MDL-39477-master' of git://github.com/FMCorz/moodle 2013-05-28 11:12:43 +08:00
Frederic Massart
67e01a5f5f MDL-39477 repository: Tests use data generator 2013-05-28 10:44:44 +08:00
Frederic Massart
9b5e61ac1e MDL-39477 repository: Introducing data generators for repositories 2013-05-28 10:44:43 +08:00
Damyon Wiese
d059d80ea6 Merge branch 'MDL-39640-master-int' of git://github.com/FMCorz/moodle 2013-05-27 16:15:51 +08:00
Dan Poltawski
047a79baed Merge branch 'MDL-39768_master' of git://github.com/dmonllao/moodle 2013-05-27 10:18:21 +08:00
Eloy Lafuente (stronk7)
89f6db3776 Merge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle 2013-05-23 15:50:56 +02:00
Marina Glancy
bfa8ff6301 MDL-39177 make sure we don't remove existing directories when cleaning up unzip 2013-05-23 19:15:47 +10:00
David Monllao
ad7e423784 MDL-39768 behat: Adding focused panels CSS selector 2013-05-22 15:11:05 +08:00
Eloy Lafuente (stronk7)
65fc4c39a9 Merge branch 'wip-MDL-39177-master' of git://github.com/marinaglancy/moodle 2013-05-22 02:22:55 +02:00
Eloy Lafuente (stronk7)
c9e54743ec MDL-39753 Add 2.5.0 upgrade line 2013-05-20 15:33:19 +02:00