-
Notifications
You must be signed in to change notification settings - Fork 1
/
changelog.txt
89 lines (79 loc) · 5.46 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Version 1.0 Final
=================
- First public release of the module.
Version 1.01
------------
* Remove unused reference to Catalogue module in /class/archive.php (sato-san)
Version 1.1
-----------
* Updated to comply with ImpressCMS 1.3/2.0 specification (no longer compatible with 1.2).
Version 1.11
------------
* Fix slow index page load when gzip enabled on ICMS 1.3.2.
Version 2.0 BETA (29/7/2012)
----------------------------
* Added support for module-specific category trees. Modules can now use Sprockets to maintain their
own independent category tree. See Contact V1.04 or Library_ipf V1.0 for examples of integration.
* NB: This breaks compatibility of Sprockets with other client modules; however the fixes required
to restore functionality are minor and updates for all client modules will be issued together with
the final version of Sprockets 2.
Version 2.0 final (15/1/2013)
-----------------------------
- Improve handling of recent content block (number of results returned still leaves a bit to be
desired).
- Disabled spotlight function of recent content block. To be revisited in a future version.
Version 2.01 beta
-----------------
- Remove paragraph tags from description field of template. Should be entered *in* the description.
- Add additional rights on installation: Copyright, the Publisher. Use this when republishing a work
where the rights belong to an external agency.
- Modified getTaggedItems() to allow it to return content for multiple (specified) modules. The
$item_type parameter now accepts an single object type as a string, or multiple object types
(eg article, publication) as an array
- Modified getTaggedItem() so that it retrieves cross-module content sorted by the 'date' field
common to all Gone Native module objects. It works, however, it is quite inefficient at present, as
it runs a separate query for every module, retrieves all results, sorts and then truncates them. It
would be much more efficient if this could be done in a single query joining all the tables, but
at present I have not been able to find a way to do this.
- Added an extras file for making a PHP block that can display a stream of mixed content from
across the Catalogue, Events, Library, News, Partner, Programme, Podcast and Project modules. This will
be incorporated as a formal block eventually (NB: See the block code for configuration options).
- Added a "recent teasers" block. This draws content from across Gone Native modules, displaying a
teaser and thumbnail image (auto-resized) if available. Can provide a blog-style stream of mixed
content. Filter by tag, content (item) type, optional simple list mode.
- Deleted the broken "recent content" block, which is redundant.
- Added a cross-module content page (tag.php), which can pull content from multiple modules.
- Added a preference to select which modules tag.php should pull content from.
- Altered getTaggedItems(), it no longer retrieves cross-module content based on taglink_id but
does a proper cross-table search (via UNION) ordering content by date.
- Added prepareClientItemsForDisplay() to the tag handler. This standardises output from different
objects and deals with inconsistencies in field names etc, to simplify subsequent handling and
processing.
- Modified rss.php to work with arrays rather than objects.
- Strip HTML purifier notices in rss.php to stop them being encoded and sent to the feed.
- Added a preference for assigning a tag to mark "untagged" content. The default installation tag
has been renamed to "Untagged" (legacy installs will need to create "Untagged" and set the
preference to point to it.
- Added getUntaggedContent() which will retrieve content that has been marked as "untagged". This is
basically content where you didn't bother to select any tags (ie. it happens automatically).
- Updated getTagsForObject() to correctly set the 'untagged' value on the tag field when editing an object.
- Updated deleteTagsForObject() to correctly delete 'untagged' taglinks when editing an object.
- Unified RSS feed now supports a generic feed unfiltered by tag.
- Removed unused method mid() from Tag.php
- Removed unused methods getTaglinkModules() and getTaglinkItems() from TaglinkHandler.php
- Removed misplaced method getTagSelectBox() from RightsHandler.php
- Removed unused method get_parent_id_buffer() from TagHandler.php
- Removed unused method sprockets_getMonthNameById() from functions.php
- Added an alternative index page in /extras, which can be used to replace the site root index.
This allows display of a unified cross-module content feed on the home page without having a messy
URL like /sprockets/modules/tag.php
- Added RSS autodiscovery links to tag.php and the alternative index page
- Added a preference to enable/disable tag.php and the alternative index page.
- Added accessors to class methods in preparation for decoupling the data validation.
- Moved data validation into accessor methods for rights, tags, taglinks objects.
- Fixed bug in getTagSelectBox() where a module_id was required in order to return results.
- Removed RSS feed when tag_id = untagged (no feed is intended to be available for untagged content).
- Added meta info for the 'All content' and 'Untagged' content situations.
- Adopted icms_core_DataFilter() methods for input sanitisation for both public facing pages and public methods.
- Recent content block no longer displays title if it is empty.
- Add dates to the recent content block (list view)