Log of /contributions/modules/outline/outline.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.51 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 28 12:01:14 2008 UTC
(11 months, 3 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.50: +49 -17 lines
Diff to
previous 1.50
* #295521 User specific books:
The administrator can limit some books to some specified authors. Only nodes by those authors will be accepted in such books.
For this, we created a new function outline_check_author_perm() to check for such authorship restrictions.
Revision
1.50 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Nov 28 10:47:26 2008 UTC
(11 months, 3 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.49: +46 -19 lines
Diff to
previous 1.49
#295521
First half of the user-specific outlines (i.e. books limited to one or few authors).
With this patch, we can configure the settings for each book, but those settings have no effect yet.
Revision
1.47 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 27 05:06:57 2008 UTC
(11 months, 3 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.46: +5 -1 lines
Diff to
previous 1.46
bugfix: properly delete past revisions.
Changelog also refers to previous patch:
* Many bugfixes related to versioning.
Regardless of the user permissions with regard to book outlining and outline settings,
new versions of the node are properly saved, and versions can be deleted or reverted.
Revision
1.46 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Nov 27 04:54:55 2008 UTC
(11 months, 3 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.45: +89 -37 lines
Diff to
previous 1.45
Many bugfixes related to versioning:
- When a user edits a node without the proper permission to affect the book outline and the outline settings,
we must add the proper default values so that they will be saved together with the new node version.
- Fix a couple of places where the version id was not properly set, and the outline settings were not taken into account.
Revision
1.45 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 26 04:46:32 2008 UTC
(11 months, 4 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.44: +22 -2 lines
Diff to
previous 1.44
Bugfix: When a user without sufficient outline permission goes to node/add/$type,
$node->outline will not be set at all, although the user might be allowed to add content
to some specific books.
Check the options available for this user and add the book+outline form items if applicable.
Revision
1.43 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Nov 26 03:03:23 2008 UTC
(11 months, 4 weeks ago)
by
augustin
Branch:
MAIN
Changes since
1.42: +448 -28 lines
Diff to
previous 1.42
Big patch coming!
#295521 The permission "add content to books" can now be overruled on a per book basis.
We can set which roles and which individual users are allowed to add content in each book.
For this we created a new permission setting page for each book (see admin > Content management > Books > edit permissions).
The setting affect the 'add child page' links and the node form.
Revision
1.35 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Aug 14 04:49:54 2008 UTC
(15 months, 1 week ago)
by
augustin
Branch:
MAIN
Changes since
1.34: +70 -40 lines
Diff to
previous 1.34
* Fixed the form in the outline tab. The outline options set by this module can now be updated at the 'outline' tab.
Revision
1.31 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Aug 13 10:47:48 2008 UTC
(15 months, 1 week ago)
by
augustin
Branch:
MAIN
Changes since
1.30: +205 -7 lines
Diff to
previous 1.30
* Added the outline navigation block at the bottom of a node. This outline is overriding the similar book navigation block.
Thus, we can use our custom TOC depth settings to modify the look of the outline.
* Removed outline.css. Replaced it with new stylesheet.css (I don't want all my files to start with outline*).
* Added Outline-navigation.tpl.php, which is a slightly modified copy of book-navigation.tpl.php
: Modified Files:
: CHANGELOG.txt outline.install outline.module
: Added Files:
: Outline-navigation.tpl.php stylesheet.css
: Removed Files:
: outline.css
315 line patch.
Revision
1.27 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Apr 18 04:12:20 2008 UTC
(19 months, 1 week ago)
by
augustin
Branch:
MAIN
Changes since
1.26: +274 -1334 lines
Diff to
previous 1.26
* The upcoming Drupal 6 version of outline.module is a *complete rewrite* of the module.
* The Drupal 6 version of outline.module is now *dependent on* core's book.module,
instead of being a replacement module, like in Drupal 5.
* The tables {outline_nodes} and {outline_volume} are replaced by
{outline_node}, {outline_book}, {outline_perm} and {outline_types}
to accomodate for all the features planned in the upcoming release.
* There is a migration path from the Drupal 5 DB schema. The migration is not yet complete and needs testing.
* We replace the book.module javascript AHAH callback with our own, so we can customize the return value (add form elements).
* Any change in the outline settings at the node level is saved in the revision if 'create revision' is checked.
* The form elements to set the child page node, and the TOC depth view are directly inserted on the form node,
alongside book.module's form elements.
* The link 'add child node' is customized to take into account the child node type setting.
Revision
1.22 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 24 12:56:02 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.21: +5 -5 lines
Diff to
previous 1.21
Bugfix: the SQL queries were not adequately updated after the change of schema, in the volume navigation.
Revision
1.21 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jan 24 12:47:06 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.20: +13 -12 lines
Diff to
previous 1.20
#112332: outline.module does not define any node type, and the $volume_id is not related to $node->nid.
This way the logic is different in quite a few places.
This patch corrects what have become bugs given the new logic, when setting the node outline options.
Revision
1.20 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 23 15:19:16 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.19: +258 -104 lines
Diff to
previous 1.19
#112029
A first big patch, after changing the DB schema to two tables.
Main changes:
* A volume is not a node, but the definition of a group of nodes.
* Added a volume creation/update form in the volume_outline tab.
* Since a volume is potentially independent from any node, I added a "title" field in {outline_volume}
* Created <default> setting for nodes in volume for child_node_type and toc_depth : the volume's default value will be used.
* Much of the logic is different from the one used with one table only.
TODO:
* volume navigation is broken.
* Test all the forms in the volume_outline tab. I have noticed some interference when updating a node, another node from another volume got affected!
Revision
1.16 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 15 04:19:14 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.15: +3 -3 lines
Diff to
previous 1.15
#109409
* created 'administer outlines' permission.
* fixed the administer outline settings permission.
Revision
1.15 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 15 04:15:29 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.14: +8 -10 lines
Diff to
previous 1.14
#109409. Fixed:
* wrong indentation in settings.
* location of the setting page.
* we do not need to define a default node type.
The cover page for each volume can be of any type, depending on the use made of the volume.
Revision
1.14 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Jan 15 03:33:00 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.13: +91 -91 lines
Diff to
previous 1.13
#106052 We are back to a two-table structure, so that we can define the attributes of a whole volume.
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 2 13:22:29 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.3: +15 -18 lines
Diff to
previous 1.3
#106341 Now the outline tab is present on every node, regardless of node type,
so we can remove the sql query checking for whatever it was checking. :-/
Also, a major difference with the original book.module PATCH,
it is that there is not book_cover node type specifically declared.
The volume cover will now be the first node to be top-level within the volume.
There could be more than one node at the top level within the volume.
Of course, the webmaster can have only one top-level node for a volume,
and that top level node be different from the other nodes within the module:
this way the volume has a specific volume cover.
And a high level of flexibility is maintained.
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Tue Jan 2 13:03:00 2007 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Changes since
1.2: +52 -53 lines
Diff to
previous 1.2
#106338 Change function names book -> outline.
Minimum changes so that book.module and outline.module can be enabled at the same time.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Dec 29 06:12:17 2006 UTC
(2 years, 10 months ago)
by
augustin
Branch:
MAIN
Creation of a new outline module based on book.module.
The aim is to strip the book node type definition, but to keep and improve the outline function,
based on beginner's and pwolanin's patch here: http://drupal.org/node/65319 and http://drupal.org/node/81226 .
TODO:
replace book_hooks() into outline_hooks().
replace {book} into {volume}
remove book node type definition
make outline function more general.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.