- 11 Jul, 2016 1 commit
-
-
Aaron Wells authored
Change-Id: I8318010bb02d4e464490bc5447cf58d2a15ad949 behatnotneeded: Can't test Google embeds in Behat
-
- 31 Mar, 2016 1 commit
-
-
behatnotneeded Change-Id: I82dcce85a26722d6466b87e2b039bac28710ee6c
-
- 24 Nov, 2015 1 commit
-
-
Aaron Wells authored
Bug 1510421 Defines a new static PluginBlocktype method, get_css_icon(), which fetches the name of the CSS icon to use for this blocktype. It returns false by default, which tells the theme to "fall back" to the old thumbnail.png instead. 3rd-party plugins can override this to specify a particular icon to use. All the core blocktypes have been refactored to extend MaharaCoreBlocktype, which uses the blocktype name as the name of the CSS icon to use. I also deprecated the "SystemBlocktype" class while I was at it. PluginBlocktype::get_blocktypes_for_category() now returns both the results of get_css_icon() and the thumbnail.png path, so that themes can decide which they want to use. (And of course thumbnail.png is served via thumbnail.php, so 3rd party themes can provide their own custom image files if they wish.) behatnotneeded: Requires installing third-party plugins to test Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
-
- 12 Oct, 2015 1 commit
-
-
Also include google app icons locally behatnotneeded: styling only Change-Id: I388abe085db161f5ad49f8b6e27ee85307e0d7fb
-
- 26 Mar, 2015 1 commit
-
-
Robert Lyon authored
Change-Id: I2030a8222ff7691952f9351b297298484f102ac5 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 04 Feb, 2015 1 commit
-
-
Robert Lyon authored
- Currently ordered as per this comment https://bugs.launchpad.net/mahara/+bug/1236102/comments/1 Change-Id: I95b5eac314dcbf2fef58e8b16836d4a6822b8b40 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 03 Dec, 2014 1 commit
-
-
... in order to silence all the E_ALL notices Change-Id: I0fdc9fc68ae7ffd2fa2dffe68dfbd79ee9599c06
-
- 14 Oct, 2014 1 commit
-
-
Son Nguyen authored
This patch will convert these following share links into iframe embed code - https://www.google.fi/maps/place/90100+Oulu/@65.016667,25.466667,17z/data=!3m1!4b1!4m2!3m1!1s0x468032a8c02185c1:0x8bb02d322b12e97d - https://www.google.fi/maps/ms?msid=217233740007179193682.00045bce836893f537d23&msa=0 - https://www.google.com/maps/place/90100+Oulu/@65.016667,25.466667,17z/data=!3m1!4b1!4m2!3m1!1s0x468032a8c02185c1:0x8bb02d322b12e97d - https://www.google.com/maps/ms?msid=217233740007179193682.00045bce836893f537d23&msa=0 Change-Id: If1f31357de7c0476afa8ff7ec7e464bf33830fff
-
- 13 Aug, 2014 1 commit
-
-
Robert Lyon authored
Was not working for urls with @ latitutude,longitude, zoom eg: https://www.google.com/maps/@37.509345,-121.9596665,12z And not working for shorthand ulrs like https://goo.gl/maps/pZTiA So I've added a check for the urls with @ latitutude,longitude, zoom and turned them into an acceptible embed url. And for shorthand urls I've added a generic function to fetch the url the short one resolves to and so it can parse that one instead of the short url. Change-Id: I3c76d2608e9708f1722e243cdc02a43f1885b815 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz>
-
- 09 Jul, 2014 1 commit
-
-
Nigel Cunningham authored
This patch modifies one regex and adds more, to handle the various new possibilities for source URLs from Google Maps. Tested using blocks with the following URLs: https://mapsengine.google.com/map/edit?mid=zfwEiFwRAMSY.kHxFNhFy8iAs http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=patagonia,+argentina&aq=&sll=33.935442,-118.080497&sspn=1.663434,2.17804&ie=UTF8&hq=&hnear=Patagonia&t=m&z=5&ll=-41.810147,-68.906269&output=embed https://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=115.5683895w+51.176933999999996n&aq=&sll=37.0625,-95.677068&sspn=40.953203,79.013672&ie=UTF8&t=m&z=14&ll=51.176934,-115.56839&output=embed https://maps.google.com/maps?ll=-41.24437,174.761855&spn=0.371216,0.475845&t=h&z=11 https://maps.google.com/maps?ie=UTF8&ll=-41.24437,174.761855&spn=0.371216,0.475845&t=h&z=11&output=embed https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d20010.295562287632!2d-115.5683895!3d51.176933999999996!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e0!3m2!1sen!2sca!4v1400737313821 https://www.google.com/maps?q=dee+why&hl=en&ll=-33.797088,151.277661&spn=0.026426,0.055704&sll=37.0625,-95.677068&sspn=51.089971,114.082031&hnear=Dee+Why+New+South+Wales,+Australia&t=m&z=15 https://www.google.com/maps?q=dee+why&hl=en&sll=37.0625,-95.677068&sspn=51.089971,114.082031&hnear=Dee+Why+New+South+Wales,+Australia&t=m&ie=UTF8&hq=&ll=-33.797088,151.277661&spn=0.026427,0.055704&z=14&output=embed Change-Id: Ib5d6d9b14147ec875aa944f60feb9b69c02be85f Signed-off-by:
Nigel Cunningham <nigelc@catalyst-au.net>
-
- 25 Mar, 2014 1 commit
-
-
Son Nguyen authored
The format of a share link for a google file: https://drive.google.com/file/d/<FILE_ID >/<action>?usp=sharing Change-Id: I420ac6ade6eb3e9e31f5418c83d584e6cb07c23a Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
- 14 Oct, 2013 1 commit
-
-
Robert Lyon authored
- have updated copyright for the pages that had existing copyright notices (except for the lib/pieforms/ section as i'm not too sure if that needs changing as it is a different Catalyst IT product) Change-Id: I11c65ad26cb9cd856cf16b1dccbd4223ba086645 Signed-off-by:
Robert Lyon <robertl@catalyst.net.nz> Signed-off-by:
Aaron Wells <aaronw@catalyst.net.nz>
-
- 13 Mar, 2013 1 commit
-
-
Son Nguyen authored
(Bug #1141446) Update new format for google apps: 1. Presentation 2. Document 3. Drawing 4. Spreadsheet 5. Form 6. Document viewer Change-Id: I3caff706eb35867b7760576bb65b1470922ea33d
-
- 02 Apr, 2012 1 commit
-
-
Melissa Draper authored
Google changed the format of their presentations embed codes, their pdf viewer embedding, and so some docs stopped appearing. This is getting very annoying. Change-Id: I68e96eb093b8461ca272f57fa88402257efb5792 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 01 Nov, 2011 1 commit
-
-
Melissa Draper authored
Change-Id: I2a2ba2a54de22fb82c36ffd8ca807f7e237ceff1 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 28 Sep, 2011 1 commit
-
-
Melissa Draper authored
Google keeps spitting out different urls to their users. Our users aren't going to understand how to massage these to the correct format, so we have to try keep up. Bad google, bad. Change-Id: I06901c142da5db179ef5361d9939ae9a03ead14e Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 19 Sep, 2011 1 commit
-
-
Melissa Draper authored
This adds a new regex that catches the new format. Addendum to 8c1316f3 in which "id=" changed to "key=", this patch covers spreadsheets where google has now changed the url from "/pub." to "/ccc." Change-Id: Id2c013257ae801e251b8b8cd9fb1fcc10a7c933b Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 09 Sep, 2011 1 commit
-
-
Melissa Draper authored
It seems that the google spreadsheets published url changed and was not being caught by the existing regexs. This adds a new regex that catches the new format. Change-Id: Ic51ae17a789f2f97647796d9a4daa5d13d2d0108 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 02 Sep, 2011 1 commit
-
-
Melissa Draper authored
As per Francois' comment in the bug https://bugs.launchpad.net/mahara/+bug/829674/comments/1 Change-Id: I03d99dbc93ea57d16240d0904c6bd670534f82b5 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 22 Aug, 2011 1 commit
-
-
Eugene Venter authored
Bug #809058 If the site is running https, embed external videos and google apps over https where possible. Change-Id: Id1d4b66c1f04587d4864126c2e58d2167e45fe70 Signed-off-by:
Eugene Venter <eugene@catalyst.net.nz>
-
- 11 Aug, 2011 1 commit
-
-
Melissa Draper authored
Fix provided by Ludwig Ruderstaller Change-Id: Icf129274dc46f7a39734d5c94aa2a2dca2b84125 Signed-off-by:
Melissa Draper <melissa@catalyst.net.nz>
-
- 22 Jun, 2011 1 commit
-
-
christopher tombleson authored
Bug#799565 Changed Textbox Columns from 80 to 76. Change-Id: I63b91f5ea0e3f12ebca0c62112a44d1e8885729a Signed-off-by:
Christopher Tombleson <christopher@catalyst.net.nz>
-
- 17 May, 2011 2 commits
-
-
Francois Marier authored
The "External feeds" tab looked a bit empty with just the External Feeds block. We now have enough blocks to make it worthwhile to have a tab for them: externalvideo, externalfeed and googleapps. Change-Id: I193240f6a16c0081625d2180599047ea5fcee00a Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
Francois Marier authored
On Mahara sites served over HTTPS, the Google Books, Calendar, Docs and Maps logos were seen by the browser as insecure content. This patch uses the HTTPS version of the logos when needed. It also always links to the secure versions of Docs and Calendar just to ensure that our users are directed to the secure versions of these Google services. Change-Id: I40aefc4798cde90bd31c4ac711cbb9d2a7b1b602 Signed-off-by:
Francois Marier <francois@catalyst.net.nz>
-
- 16 May, 2011 1 commit
-
-
Hugh Davenport authored
Initial import of a contrib plugin for a googleapps blocktype. Change-Id: Ib49a83965b1e17bec9f2f79b6b0e41235d9b5a91 Author: Gregor Anželj <gregor.anzelj@gmail.com> Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-