David Mudrák
06d446aec1
MDL-74586 rss: Make rss_get_userid_from_token() use table index
...
Due to missing `AND k.script = 'rss'` condition, the query did not make
use of the existing script-value compound index defined for the table.
So it had to perform the full sequential scan for all rows when
searching for the token. This had serious performance issues on sites
with many users, especially in case on non-existing token / key.
2023-02-28 13:26:12 +01:00
Marina Glancy
0eada7a5f9
MDL-70893 various: optional function arguments must be in the end
2021-02-15 16:53:37 +01:00
Damyon Wiese
663640f5b3
MDL-40759 icons: convert uses of pix_url to pix_icon
...
Also change filepicker to use scaled svgs instead of sets of custom pngs. The svgs are taken from font-awesome.
2017-03-17 15:52:17 +08:00
Simey Lameze
11d4bea28b
MDL-50268 core: proper deprecation of get_file_url() method
2016-01-18 13:44:22 +08:00
Dan Poltawski
cd1b845f62
MDL-50641 rss: fix front page rss links
...
Fallback to guest user token when no user is specified in rss_get_url
rather than generating a junk token which is no use to anyone, this
matches existing logic which has been in place in forum for a while
and avoids custom handling all over the place.
2015-08-26 08:08:43 +01:00
Eloy Lafuente (stronk7)
b8a8f3dd01
Merge branch 'MDL-42607_rss' of https://github.com/andyjdavis/moodle
2014-01-08 00:39:15 +01:00
Andrew Davis
6c90c5cae2
MDL-31050 rss: removed some unused function parameters and removed some low value comments
2014-01-02 10:35:14 +08:00
Andrew Davis
8f6e47d9c7
MDL-42607 mod_forum:fixed some inefficiencies in forum RSS generation
2013-12-31 12:28:09 +08:00
Dan Poltawski
d139e46447
MDL-25901 rss: do not copyright html tag
...
They copyright field does not permit html, it should be plain text
2013-06-06 11:21:19 +08:00
Mark Nelson
5fe65fd438
MDL-36741 mod_forum: fixed SQL that was generated when either timed posts or groups were enabled
2012-11-23 17:01:50 +08:00
Sam Hemelryk
ece157e426
Merge branch 'MDL-33514' of git://github.com/danpoltawski/moodle
2012-07-09 10:22:06 +12:00
Dan Poltawski
85aec6a4a2
MDL-33514 - rss: also exclude suspended users feeds
...
Thanks Petr!
2012-06-11 10:26:29 +08:00
Dan Poltawski
b30dc391e7
MDL-33514 - rss: only retrieve RSS feeds for valid users
2012-06-06 23:37:16 +08:00
Sam Hemelryk
7df271d9b3
Merge branch 'MDL-27559-master-v2' of https://github.com/mackensen/moodle
2012-06-06 08:51:11 +12:00
Charles Fulton
80c27aab8c
MDL-27559 opendir: validate directory pointer on open
2012-05-25 08:52:12 -07:00
Jason Fowler
13d1c9ed55
MDL-30991 - RSS - Doc-block clean up
2012-02-15 15:19:59 +08:00
sam marshall
770b7f6c9f
MDL-30203 RSS: Remove broken 'podcasting' support that thinks mailto links are attachments
2011-11-15 14:06:15 +00:00
Petr Skoda
8f6e5a8d19
MDL-28701 one more make_cache_directory
2011-09-10 10:49:04 +02:00
Tom Lanyon
365bec4c06
MDL-28701 Change all uses of $CFG->dataroot/cache to $CFG->cachedir
2011-09-10 10:35:46 +02:00
Sam Hemelryk
2b04c41c58
MDL-27471 Adding mandatory component & ratingarea to the ratings API + other fixes
...
* Added the component and ratingarea fields and implemented it throughout
the rating API as mandatory fields
* Cleanup rating indexes
* Upgrade forum/data/glossary ratings
* Moved the logic in the render_rating method to methods of the rating object.
* Added new callback for checking ratingareas
* Cleaned comments here and there
* Mark the xxx_get_participants methods as deprecated
* Refactor rate_ajax and ratingsuser_can_view_aggregate methods
* Cleaned up rating/index.php to use html_table object and moved inline styles to CSS.
* Added missing properties of the rating object that were being set throughout the rating
API.
2011-05-23 12:35:39 +02:00
Andrew Davis
c56449dff6
rss MDLSITE-1007 reverted an unnecessary change I committed
2010-10-04 09:01:41 +00:00
Andrew Davis
a7ca080c20
rss MDLSITE-1007 processing the user token to make sure its a string and not an int to prevent bogus user matches occuring
2010-10-04 07:13:09 +00:00
Petr Skoda
365a594107
MDL-24321 switching to stdClass in /lib/
2010-09-21 08:07:44 +00:00
Andrew Davis
e858c368ff
rss MDL-23473 made blog rss feeds work
2010-07-28 02:32:11 +00:00
Petr Skoda
78bfb562a0
MDL-21249 improved php docs and adding direct access prevention in core libs
2010-07-25 13:35:05 +00:00
Andrew Davis
43b92251be
rss MDL-23391 made lib/rsslib.php more generic
2010-07-21 02:11:53 +00:00
Andrew Davis
d5f25d957e
rss MDL-23383 moved the RSS cache to /dataroot/cache/rss
2010-07-19 06:46:23 +00:00
Andrew Davis
a74bea1257
rss MDL-23315 fixed error when moving threads between forums
2010-07-16 02:46:26 +00:00
Andrew Davis
9e86f2e7a9
rss MDL-22204 fixed rss autodiscovery and made the RSS UI elements placement consistent
2010-05-13 08:44:35 +00:00
Andrew Davis
ffa3bfb36f
rss MDL-22204 added library functions to allow the user to get a new rss token
2010-05-12 06:48:59 +00:00
Andrew Davis
fcce139aa3
RSS MDL-22204 committing new RSS code. Uses a token to ID the user. RSS feeds also generated/updated as needed rather than by cron.php
2010-05-02 11:43:57 +00:00
Sam Marshall
5a84cc7048
MDL-21356 rsslib: Schema address from tag output in wasn't escaped (problem only if it contains &)
2010-01-15 14:36:11 +00:00
Petr Skoda
b5d0cafc6f
MDL-20787 final switch to new $OUTPUT->pix_url() - yay!
2009-12-16 21:50:45 +00:00
Petr Skoda
6f5e085205
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 16:48:45 +00:00
Petr Skoda
117bd74897
MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup
2009-11-01 11:31:16 +00:00
Petr Skoda
2a250a0b2e
MDL-20697 removing duplicate error string cannotfindsite, fixing get_site() which is now using exceptions
2009-11-01 09:21:41 +00:00
poltawski
9598cecff9
lib/rsslib - Missing global decloration of $OUTPUT
2009-07-31 21:19:20 +00:00
poltawski
53fe72ee1f
block_rss_client/rsslib MDL-1393 Clean up
...
- Remove obsolete magpie configuration
- Remove block_rss_client_submitters which has not been used for some
time
- Remove some block_rss_client setup from rsslib.php
2009-07-29 14:10:15 +00:00
tjhunt
f1a34d8f05
block_rss_client: MDL-13932 Clean up a lot of the crap.
...
This was all in order to do MDL-19889!
* The old tabbed interface is gone.
* The manage feeds UI has been completely rewritten to be a few
separate sane scripts like managefeeds.php, editfeed.php and viewfeed.php
* This is used from both Admin -> plugins -> blocks ... and as a link from the block edit_form.php
* new edit_form.php for the block replacing config_istance.php.
* A lot of stuff to do with UI specific to this block has been removed from rsslib.php
2009-07-29 11:18:55 +00:00
tjhunt
a28c92539e
MDL-19690 - more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-03 06:38:41 +00:00
tjhunt
f2a1963c43
MDL-19690 - lots more $CFG->pixpath to $OUTPUT->old_icon_url
2009-07-02 11:09:15 +00:00
samhemelryk
50fcb1d835
lib MDL-19236 Added boilerplates and copyrights
2009-05-26 03:23:32 +00:00
sam_marshall
08577617ff
MDL-19274 - Blog RSS feed should include information about tags in each post
2009-05-22 15:16:58 +00:00
moodler
babe6a0ab1
MDL-12563 Fixed RSS dates so that they are always GMT
2008-09-16 08:57:34 +00:00
scyrma
5a254a2938
MDL-14279: use get_file_url instead of checking $CFG->slashargument manually (merge from 1.9)
2008-07-10 09:55:11 +00:00
skodak
007b2f0428
MDL-14679 finished rsslib conversion
2008-05-30 20:29:51 +00:00
skodak
6bf55889dd
MDL-12782 magpie now uses download_file_content() - that should solve several remote RSS issues including proxy user/password + several download_file_content() improvements + other minor fixes; merged from MOODLE_19_STABLE
2007-12-31 15:37:12 +00:00
scyrma
d0b869a00c
MDL-12528 - getElementById was misspelled.
2007-12-11 05:00:14 +00:00
stronk7
20185f7d8b
Moving block_rss_timeout to block_rss_client_timeout and
...
making it work as minutes (was seconds).
2007-07-31 17:03:51 +00:00
stronk7
29b71de660
Delete some trailing whitespaces...
2007-07-30 19:13:19 +00:00