• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge of all changes on oacs-5-0 branch between tag openacs-5-0-0-final and jcd-merge-pre503 (except those in lars-blogger).

  1. … 2 more files in changeset.
merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.
- Can't remember what I changed. It's been a month or so since I touched

the package. Promise I'll get back to it.

- Bumped package version

- Fixed create scripts

- Fixed callback function

- Fixed field-addedit and field-delete

  1. … 5 more files in changeset.
- Many fixes.

- More API refactoring (needs more).

- ad-new not working because I need to figure out a problem with default

values.

  1. … 3 more files in changeset.
- Fixed bug in Tcl callback

- Added Price custom site-wide field.

- TODO: Need to make the widgets table probe the templating system.

- More per-category fields changes.

- Get rid of fields.xql and use API.

    • -0
    • +41
    ./classified-ads-procs-postgresql.xql
  1. … 3 more files in changeset.
- Realized I made a boo-boo by adding the keyword_id column that allows

per-category custom fields to the wrong table. Moved it to ca_attributes

and changed pl/pgsql and tcl api's accordingly.

- Create index in ca_attributes to improve speed. Still need to assess

where else we need indices.

- Changed API a bit. A couple functions named _exists_p were not boolean

at all, hence confusing.

- Updated user/admin files to reflect changes.

- Adding of custom fields now lets site-wide admin add site-wide custom

fields, otherwise only package-wise custom-fields.

- Improved fields UI. Needs more work.

- Updated Tcl callbacks.

  1. … 12 more files in changeset.
- Retrieving ads now returns all the custom fields for the category

asked for.

- New proc categories::get_custom_fields to return list of custom fields.

- Adding of custom fields now completely integrated with per-category

custom fields, plus improved UI.

  1. … 6 more files in changeset.
- Changed create scripts to add per-category custom fields support.

- Fixed bug in package drop scripts. Don't think all is solved yet.

- Wrote Tcl callback to allow for per-category custom fields.

    • -73
    • +27
    ./classified-ads-procs-postgresql.xql
  1. … 3 more files in changeset.
- Fixed left-over from reversing widget-procs.tcl

- Moved attribute instantiation to a Tcl callback (because we now

support per-category custom fields)

- Working on www/index.tcl

    • -0
    • +86
    ./classified-ads-procs-postgresql.xql
  1. … 5 more files in changeset.
- Thanks to the invaluable help from daveb, custom fields now working,

including updating of values, which wasn't working in the original version,

so fixed that bug too.

- Revert widget-procs.tcl to generating template::element calls instead

of an ad_form -extend block, because that gives users customizing the

package (in the future) to have their own -validate block in the

ad_forms present.

- Problems with ad_form (custom element not visible)

- Modified get_widget_param to generate ad_form statements instead of

template::element::create in attempt to fix the problem. Worked partially.

- Modified ad-one accordingly.

Now the problem seems to be that a custom element is available in the

-edit_request block, but for some reaons that element (which was

added through ad_form -extend) is not available in the -edit_data block.

Does anyone know why??

  1. … 1 more file in changeset.
- Remove unneeded query.

- Fixed bug I introduced in ::ads::get

- Per-category custom field support added.

- ad-one and ad-new doing the right thing with custom fields.

  1. … 2 more files in changeset.
- Can't remember what I fixed here.

- Changed ns_log notice -> Debug

- Reformatted a bit for legibility.

- Continuing to improve UI

- ad-delete now ad_form with confirmation

- ad-one handles deletion correctly

- Updated TODO.

    • -701
    • +705
    ./classified-ads-procs.tcl
  1. … 6 more files in changeset.
- Added procs to get context trail for ads.

- ad_one displays and edits ads.

- ad-delete with confirmation (still needs work).

- categories.* now link ads to ad-one

- Everything ad_form'ized.

  1. … 4 more files in changeset.
- Fixing ads::new

- Reformatted classified-ads-procs.tcl for legibility

- ad-new will be merged into ad-one which will take care of adding,

editing and displaying ads.

- Improved category administration.

  1. … 3 more files in changeset.
- Made assigned and unassigned ads return published date.

- Placing new ads now lets you know which category it's going into.

- More improvements to field-addedit

- Updated TODO

- Removed category-assign-2, since it had no point and to have

consistent behavior with category-remove

- Much better admin UI to manage categories and ads.

  1. … 6 more files in changeset.
- Improved categories page (still need a prettier UI)

- Improved documentation to filed-addedit

- Added proc to verify ISBN numbers.

  1. … 2 more files in changeset.
- Initial revision of the classified-ads package written by Deds Castillo

and Paul Doerwalds.

- Some modifications and improvements by Roberto Mello.

- Added Bugs and Features to the www/doc/index page.

- Will be committing more changes soon.

    • -0
    • +35
    ./ads-procs-postgresql.xql
    • -0
    • +140
    ./ads-procs.tcl.old
    • -0
    • +101
    ./categories-procs-postgresql.xql
    • -0
    • +259
    ./categories-procs.tcl
    • -0
    • +47
    ./categories-procs.xql
    • -0
    • +55
    ./classified-ads-init.tcl
    • -0
    • +225
    ./classified-ads-procs-postgresql.xql
    • -0
    • +750
    ./classified-ads-procs.tcl
    • -0
    • +116
    ./classified-ads-procs.xql
    • -0
    • +53
    ./containers-procs-postgresql.xql
    • -0
    • +140
    ./containers-procs.tcl
    • -0
    • +176
    ./widget-procs.tcl
  1. … 63 more files in changeset.