• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changed standard-lars -> standard form template style

  1. … 13 more files in changeset.
merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 645 more files in changeset.
Fixed bug #1645: clicking on the context when viewing an archive messes up url

Added anchor tags to last-n-comments

  1. … 3 more files in changeset.
Modified the blog query to prevent collisions with new acs_object.package_id and acs_object.title fields. This is a bandaid.

Add a CategoryContainer parameter which defaults to package_id but can

be subsite_id (when lars-blogger should use the same catagory trees as the subsite,

might make sense to support mainsite as well).

Categories now display with counts and indented to reflect structure,

currently omits empty categories.

bump version for paramter, bump dependency for categories since it uses

category_tree::get_multirow now.

  1. … 1 more file in changeset.
Some stuff I forgot to commit before.

  1. … 3 more files in changeset.
propigate displayed_item_id

Added a missing join condition

Changes to support dotkul

  1. … 2 more files in changeset.
When getting content from the URL variable, it didn't get massaged into a richtext datatype

various bug fixes for package_id, title addition to acs_objects

  1. … 12 more files in changeset.
Ported from postgres.

    • -0
    • +42
    ./admin/blogroll-ae-oracle.xql
    • -0
    • +11
    ./admin/blogroll-delete-oracle.xql
  1. … 2 more files in changeset.
Killed the 'Posted' part of the entry line

- Fixed bad <a/> instead of </a> tag

- Re-enabled the blogroll includelet, since includes no longer break the entire page

Got rid of old weblogs_ping parameters

    • -0
    • +11
    ./admin/ping-url-add-api.tcl
  1. … 4 more files in changeset.
Removed entry-edit from admin yet again

Fixed a few more merge problems

  1. … 1 more file in changeset.
Merged in changes from openacs-5-0-0-final to jcd-merge-pre503

  1. … 11 more files in changeset.
Use ad_return_url

Commiting integration of Site Wide Categories into Weblogger. While

implementing this I've also fixed numerous random bugs.

Some comments off the top of my head regarding this implementation:

* Weblogger currently doesn't take advantage of nested categories. You

can use trees that are nested but categories in those trees are

treated as if they were all flat.

* I've provided a migration script from old to new categories. The

script just copies data and doesn't delete anything. It is written

in Tcl so that it can take advantage of the APIs.

* I left the legacy categories in system. There are several reasons

for that:

- Site-Wide categories don't have short names and thus speaking

URLs are not implemented. Some people might prefer to keep

speaking URLs, especially if they don't want to break them

after migration

- Blogger-specific categories are simpler and thus easier to use.

- Having both solutions available for a while makes transition less

painful.

* I had lots of problems with Oracle port. At first I thought just

that it is slightly instable because we are working on HEAD and

categories are in flux... Only after having fixed a lot of bugs I

realized that LEGACY CATEGOIRIES NEVER WORKED IN ORACLE. At that

point it was easier to make them actually work in oracle :-)

* Actually it seems that the whole Weblogger never worked in Oracle, I

was fixing bugs such as broken filtering by date (because Oracle's

trunc() uses different format strings from PostgreSQL's date_trunc()

etc. etc.

* Juggling pieces of Tcl from .tcl to .xql (via variable and command

substitution) and pieces of SQL from .xql to .tcl (via db_map) was

fun :-)

* Implementing nested multirows (to show all categories one object is

in), in combination with included templates thought me a lot about

the templating system. One of the lessons: <multirow name="@foo@">

with variable could actually work if a bunch of bugs with variable

substitution were fixed in templating system. Until then using:

template::multirow -local -ulevel 1 upvar $foo myfoo will be

necessary.

* Some extensions for db_multirow, <multiple> and friends to support

grouping and tables-within-tables would be really useful. I didn't

dare do such large-scale hacks on db_multirow

* one-entry{tcl,adp} should be replaced with blog{tcl,adp} - after all

getting one entry is just a special case of getting many entries.

    • -0
    • +89
    ./admin/migrate-categories-1.tcl
    • -0
    • +19
    ./admin/migrate-categories.adp
    • -0
    • +18
    ./admin/migrate-categories.tcl
  1. … 1 more file in changeset.
- Required 'create' priv to set create_p

- Check create_p before showing '+' sign link to post new

Check create privilege to set create_p. Fixes bug#1451

Some more sw_categories stuff which I forgot to check in before.

- Implemented parameters for content length in RSS feed and on blog index/archive pages

- Bumped version number to 1.0.2

- Require acs-tcl version 5.0.1

  1. … 3 more files in changeset.
In my opinion the title should be displayed in the same way, regardless if there is a URL involved or not. Changed the location of <p> Tags accordingly.

For categories to work the switch has to be called container_object_id, at least in the current checkout of categories.

Committed lots of fixes from Joel

  1. … 4 more files in changeset.
Added site-wide categories plus fixed the completely broken decision tree in the .vuh.

Added a missing slash to separate the category from username. Now in

some cases we might have two slashes (the whole cat/user/archive stuff

is pretty poor). In any case two slashes is less of a trouble than no

slash.