Commit Graph

234 Commits

Author SHA1 Message Date
Mateusz Uzdowski
fd67399417 Optimise diff generation.
For 100 items, this change improves generation times on small diffs
(100s of bytes) 6-fold. The improvement deteriorates to about 4-fold on
diffs of 1kB.

This includes the 25% improvement from the removal of unnecessary
forTemplate calls - we pack the diffs into HTMLText and render them
later from a template anyway.
2015-03-30 11:29:33 +13:00
Mateusz Uzdowski
8a7d2ec9da NEW Refactor diff API and add managed limits.
Deprecate the getDiffedChanges method to get rid of confusing
fullHistory parameter. Add a getDiff method to fetch just a single diff
and a more versatile getDiffList method which allows specifying a limit.

We now also cap the amount of items coming from the diffing process
to a default value that we hope will result in generation times no
greater than a few seconds. This can be reconfigured by developers.
2015-03-30 11:28:42 +13:00
Damian Mooyman
2d6337dad9 Update translations 2014-11-19 14:23:02 +13:00
Damian Mooyman
797e5586c5 Fix testcase 2014-05-23 18:29:07 +12:00
Mateusz U
d718bf8758 Merge pull request #7 from tractorcow/pulls/disable-feed-config
API Ability to globally enable / disable RSS feeds
2014-05-22 11:43:01 +12:00
Damian Mooyman
094e3190df API Ability to globally enable / disable RSS feeds via config / siteconfig 2014-05-22 11:38:32 +12:00
Mateusz U
a3c4c52faf Merge pull request #10 from tractorcow/pulls/fix-tests-2
Disable caching in tests
2014-05-22 11:36:33 +12:00
Damian Mooyman
7f3adbf4d8 Disable caching in tests
Fixes #8
2014-05-22 09:53:49 +12:00
Damian Mooyman
d6fca1a5c4 Updated translations 2014-05-20 15:21:37 +12:00
Mateusz U
706ad85054 Merge pull request #5 from tractorcow/pulls/3.1-rate-limiting
API Better implementation of caching / rate limiting
2014-04-30 15:47:10 +12:00
Damian Mooyman
47991567b5 API Added lock cool down to rate limiting 2014-04-30 15:40:51 +12:00
Damian Mooyman
241f0604b0 Namespaced filters
Changed default settings (disable lock_bypage and set lock_timeout to 5)
Updated docs
2014-04-30 12:31:18 +12:00
Damian Mooyman
a243a3510a API Better implementation of caching / rate limiting 2014-04-29 16:51:23 +12:00
Sam Minnee
4946376793 FIX: Don't caused HTML tidying to make an unreliable test 2014-02-18 18:43:58 +13:00
Mateusz Uzdowski
55fe8eb050 Add new lang strings, convert to JS. 2014-01-24 14:37:02 +13:00
Ingo Schommer
27bd513938 Fixed static visibility 2013-10-31 10:38:49 +01:00
Ingo Schommer
01e1136311 Clear cache in tests (for repeat runs) 2013-10-31 10:21:46 +01:00
Ingo Schommer
aabb774d20 Merge pull request #4 from chillu/pulls/travis
Page specific cache key, unit and functional tests
2013-10-31 02:07:54 -07:00
Ingo Schommer
13bb2cf270 Travis support 2013-10-31 10:02:51 +01:00
Ingo Schommer
2d035a6e94 Page specific cache key, unit and functional tests
Added templates from CWP template to make the module
useful standalone outside of CWP.
2013-10-30 17:46:22 +01:00
Ingo Schommer
778ae7d42c Chinese/Arabic/Te Reo translations 2013-10-30 00:35:53 +01:00
Mateusz U
3ad4f401ee Merge pull request #3 from silverstripe-labs/pulls/transifex
Globalisation, transifex support
2013-10-29 13:47:19 -07:00
Ingo Schommer
8b4fdd31c3 Globalisation, transifex support 2013-10-24 23:33:20 +02:00
Sean Harvey
3a13a46a2d Add nofollow to RSS links to avoid bots crawling the feeds. 2013-10-24 10:15:22 +13:00
Ingo Schommer
d1dcd2bf3c Create LICENSE 2013-09-02 11:43:18 +02:00
Mateusz Uzdowski
35e44e92eb Protect the allchanges from leaking protected information.
Add warnings.
2013-07-23 10:07:32 +12:00
Mateusz Uzdowski
dc5012f118 Cache the versioned feed to prevent DDOS. 2013-07-22 16:27:52 +12:00
Robert Curry
6839401531 Merge pull request #2 from cam-findlay/patch-1
3.1 Compatibility of extensions
2013-03-26 15:03:06 -07:00
cam-findlay
55425439a4 3.1 Compatibility of extensions 2013-03-27 10:41:42 +13:00
Robert Curry
67fc92c361 Add more documentation 2013-03-08 14:31:49 +13:00
Robert Curry
0353f72e5e 3.0 compatibility fix 2013-03-07 15:41:46 +13:00
Robert Curry
671bf57015 Show initial version in allchanges feed 2013-03-07 14:54:13 +13:00
Mateusz Uzdowski
c03d666fe9 BUG Make it play well with subsites.
Due to a hack in subsites/_config.php, the new database field is never
added. This is the easiest way around.

The issue is better described here:
https://github.com/silverstripe/silverstripe-subsites/issues/69
2013-02-05 12:23:03 +13:00
Robert Curry
d9dd9311d0 Initial commit 2012-11-26 13:22:30 +13:00