• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Editing tasks works again (albeit only one task at a time), more UI work.

    • -1
    • +2
    ./project-manager/www/one-postgresql.xql
    • -0
    • +58
    ./project-manager/www/task-edit-postgresql.xql
    • -0
    • +13
    ./project-manager/www/task-edit.adp
    • -0
    • +117
    ./project-manager/www/task-edit.tcl
    • -4
    • +18
    ./project-manager/www/task-one-postgresql.xql
Now should be able to view versions of tasks (untested). Also, cleaned

up interface between pages. Slight improvements to UI.

    • -0
    • +12
    ./project-manager/www/one-postgresql.xql
    • -2
    • +2
    ./project-manager/www/task-add-edit-postgresql.xql
    • -3
    • +3
    ./project-manager/www/task-add-edit.tcl
    • -0
    • +23
    ./project-manager/www/task-one-postgresql.xql
Improved UI, moved task view page to CSS layout.

    • -0
    • +21
    ./project-manager/www/task-one-postgresql.xql
    • -19
    • +94
    ./project-manager/www/task-one.adp
UI improvements. Now uses CSS for layout.

Updating appearance of one.adp.

change the tree_X and list_X calls, also improved the documentation of folder and item procs

    • -16
    • +139
    ./bcms/sql/postgresql/bcms-create.sql
    • -65
    • +54
    ./bcms/tcl/bcms-folder-procs-postgresql.xql
    • -71
    • +61
    ./bcms/tcl/bcms-folder-procs.tcl
    • -68
    • +105
    ./bcms/tcl/bcms-item-procs-postgresql.xql
    • -70
    • +130
    ./bcms/tcl/bcms-item-procs.tcl
    • -1
    • +1
    ./bcms/tcl/bcms-revision-procs-postgresql.xql
Added in UI to view project revisions. Fiddled with task add-edit page,

but no major changes.

    • -3
    • +40
    ./project-manager/www/one-postgresql.xql
    • -5
    • +7
    ./project-manager/www/task-add-edit.tcl
Added in callbacks for instantiation and after-instantiation. However,

they don't seem to be working.

    • -0
    • +2
    ./project-manager/project-manager.info
    • -0
    • +34
    ./project-manager/tcl/install-procs-postgresql.xql
    • -0
    • +38
    ./project-manager/tcl/install-procs.tcl
Added in data model for task constraints.

Tasks can be added en masse now

However, editing tasks no longer works.

    • -4
    • +4
    ./project-manager/www/task-add-edit-postgresql.xql
    • -1
    • +39
    ./project-manager/www/task-add-edit.adp
    • -42
    • +89
    ./project-manager/www/task-add-edit.tcl
Fix auto-mount location. Uncertain as to the change in one-postgtresql

    • -6
    • +6
    ./project-manager/project-manager.info
Fixed a query bug in task-add-edit, added permissions checks to all .tcl files

    • -11
    • +12
    ./project-manager/www/task-add-edit-postgresql.xql
    • -7
    • +11
    ./project-manager/www/task-add-edit.tcl
- Many fixes.

- More API refactoring (needs more).

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

values.

    • -2
    • +25
    ./classified-ads/tcl/categories-procs-postgresql.xql
    • -1
    • +19
    ./classified-ads/tcl/categories-procs.tcl
    • -1
    • +9
    ./classified-ads/tcl/classified-ads-procs-postgresql.xql
    • -13
    • +26
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -7
    • +16
    ./classified-ads/tcl/widget-procs.tcl
    • -23
    • +0
    ./classified-ads/tcl/widget-procs.xql
    • -7
    • +18
    ./classified-ads/www/admin/ad-new.tcl
    • -1
    • +1
    ./classified-ads/www/admin/field-addedit.tcl
- Fixed bug in Tcl callback

- Added Price custom site-wide field.

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

    • -4
    • +18
    ./classified-ads/tcl/classified-ads-procs.tcl
- More per-category fields changes.

- Get rid of fields.xql and use API.

    • -2
    • +2
    ./classified-ads/tcl/categories-procs.tcl
    • -0
    • +41
    ./classified-ads/tcl/classified-ads-procs-postgresql.xql
    • -3
    • +7
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -23
    • +0
    ./classified-ads/tcl/classified-ads-procs.xql
    • -32
    • +0
    ./classified-ads/www/admin/fields.xql
Tasks now can be edited.

    • -1
    • +1
    ./project-manager/project-manager.info
    • -8
    • +8
    ./project-manager/www/task-add-edit-postgresql.xql
    • -0
    • +1
    ./project-manager/www/task-add-edit.adp
    • -16
    • +40
    ./project-manager/www/task-add-edit.tcl
    • -7
    • +9
    ./project-manager/www/task-one-postgresql.xql
Added cvs id

Added cvs Id to file.

Took out outdated references to folders for each project.

    • -9
    • +7
    ./project-manager/www/index-postgresql.xql
initial import

    • -0
    • +0
    ./form-to-mail/www/admin/form-delete.adp
  1. … 20 more files in changeset.
Initial revision

    • -0
    • +34
    ./form-to-mail/form-to-mail.info
    • -0
    • +11
    ./form-to-mail/sql/postgresql/form-to-mail-create.sql
    • -0
    • +39
    ./form-to-mail/sql/postgresql/form-to-mail-drop.sql
    • -0
    • +134
    ./form-to-mail/sql/postgresql/form-to-mail-functions-create.sql
    • -0
    • +42
    ./form-to-mail/sql/postgresql/form-to-mail-table-create.sql
    • -0
    • +2
    ./form-to-mail/www/.DS_Store
    • -0
    • +13
    ./form-to-mail/www/form-proc.adp
    • -0
    • +54
    ./form-to-mail/www/form-proc.tcl
    • -0
    • +13
    ./form-to-mail/www/form-proc.xql
    • -0
    • +7
    ./form-to-mail/www/form.adp
    • -0
    • +70
    ./form-to-mail/www/form.tcl
    • -0
    • +15
    ./form-to-mail/www/form.xql
    • -0
    • +8
    ./form-to-mail/www/index.adp
    • -0
    • +6
    ./form-to-mail/www/admin/form-delete.adp
  1. … 20 more files in changeset.
Added in tasks, fixed bugs/added in functionality to edit projects,

removed content repository folder for each project (only one folder

per instance now), add in style sheet, rename files in line with

openacs conventions.

    • -5
    • +6
    ./project-manager/project-manager.info
    • -114
    • +407
    ./project-manager/sql/postgresql/project-manager-functions-create.sql
    • -16
    • +75
    ./project-manager/sql/postgresql/project-manager-table-create.sql
    • -17
    • +22
    ./project-manager/www/add-edit-postgresql.xql
    • -0
    • +40
    ./project-manager/www/one-postgresql.xql
    • -0
    • +20
    ./project-manager/www/style.css
    • -0
    • +57
    ./project-manager/www/task-add-edit-postgresql.xql
    • -0
    • +7
    ./project-manager/www/task-add-edit.adp
    • -0
    • +101
    ./project-manager/www/task-add-edit.tcl
  1. … 6 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.

    • -12
    • +14
    ./classified-ads/sql/postgresql/attributes-create.sql
    • -4
    • +20
    ./classified-ads/tcl/categories-procs-postgresql.xql
    • -225
    • +236
    ./classified-ads/tcl/categories-procs.tcl
    • -1
    • +1
    ./classified-ads/tcl/categories-procs.xql
    • -2
    • +2
    ./classified-ads/tcl/classified-ads-init.tcl
    • -2
    • +1
    ./classified-ads/tcl/classified-ads-procs-postgresql.xql
    • -3
    • +3
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -1
    • +1
    ./classified-ads/tcl/classified-ads-procs.xql
  1. … 6 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.

    • -24
    • +29
    ./classified-ads/tcl/ads-procs.tcl
    • -0
    • +22
    ./classified-ads/tcl/categories-procs-postgresql.xql
    • -1
    • +14
    ./classified-ads/tcl/categories-procs.tcl
    • -2
    • +2
    ./classified-ads/www/admin/categories.tcl
    • -2
    • +61
    ./classified-ads/www/admin/field-addedit-postgresql.xql
    • -3
    • +21
    ./classified-ads/www/admin/field-addedit.tcl
    • -9
    • +42
    ./classified-ads/www/admin/field-addedit.xql
- Adding per-category custom fields modifications to admin UI.

- Improved UI for adding fields (still needs some work).

- Improved help texts.

- Added other options to ease adding of custom fields.

- Still need to add keyword_id.

    • -40
    • +1
    ./classified-ads/www/admin/field-addedit.adp
    • -2
    • +65
    ./classified-ads/www/admin/field-addedit.tcl
- 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/tcl/classified-ads-procs-postgresql.xql
    • -12
    • +45
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -1
    • +1
    ./classified-ads/tcl/classified-ads-procs.xql
- 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/tcl/classified-ads-procs-postgresql.xql
    • -1
    • +33
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -0
    • +10
    ./classified-ads/tcl/classified-ads-procs.xql
    • -7
    • +28
    ./classified-ads/www/admin/ad-one.tcl
    • -1
    • +2
    ./classified-ads/www/admin/categories.tcl
- Updated TODO.

- 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.

    • -13
    • +13
    ./classified-ads/www/admin/ad-one.tcl
- 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.

    • -4
    • +4
    ./classified-ads/tcl/classified-ads-init.tcl
    • -8
    • +2
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -45
    • +26
    ./classified-ads/tcl/widget-procs.tcl
- 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??

    • -2
    • +14
    ./classified-ads/tcl/classified-ads-procs.tcl
    • -27
    • +46
    ./classified-ads/tcl/widget-procs.tcl
    • -8
    • +16
    ./classified-ads/www/admin/ad-one.tcl