Commits

Show all
Author Commit Message Labels Comments Date
rgrp
r1202@rgrp: rgrp | 2007-04-12 15:06:26 +0100 Create MANIFEST.in to list non-standard files we want to include (using svk plus setuptools support for sdist and include_package_data is currently broken) and add bin/ckan-admin to scripts entry in setup.py.
Tags
ckan-0.3
rgrp
r1201@rgrp: rgrp | 2007-04-12 14:40:22 +0100 Create CHANGELOG.txt in /ckan/trunk and also add it to /ckan/tags/ckan-0.2 (suitably modified). Also correct setup.cfg in /ckan/tags/ckan-0.2 to not add svn release number.
rgrp
r1196@rgrp: rgrp | 2007-04-12 14:06:16 +0100 Continue refactoring of repository layout started in r148 by renaming ckan2 to ckan and moving /tags to /ckan/tags.
rgrp
r1195@rgrp: rgrp | 2007-04-12 14:03:55 +0100 micro: change version from 0.3dev to 0.3.
rgrp
Remove leftover print statement.
rgrp
Use setup_config() to setup database by calling ckan.models.repo.rebuild().
rgrp
r1080@rgrp: rgrp | 2007-04-04 09:22:59 +0100 bugfix: when editing an existing package which has tags from the web ui saving would result in an error the form: There was an error: ERROR: duplicate key violates unique constraint "package_tag_package_tag_index" INSERT INTO package_tag (id, tag_id, package_id) VALUES (28, 1, 1) This was happening because add_tag_by_name was being called for all tag names entered even if the package already had them. Fixed this by modifying PackageSchema._update_tags to only add tags if they do not currently exist.
rgrp
Correct AuthKit version to 0.3.0pre5 from 0.3.0.
rgrp
Add AuthKit and markdown to install_requires in setup.py and add a small comment about the setup.py library dependencies listing to README.txt.
rgrp
Fix failing tests/bugs introduced by r140 and not noticed at the time. * ckan/tests/forms/test_package.py: Change to use new notes string on annakarenina package fixture. * ckan/misc.py ckan/tests/misc/test_format_text.py: Test and support for None argument to MarkdownFormat.to_html.
rgrp
Add /license/ page stating that all material is 'open' and listing a specific license (cc by-sa v3.0). * trunk/ckan/controllers/template.py: Activate standard template controller so that we can use it to display the license. * trunk/ckan/templates/license.html: New license template. * trunk/ckan/tests/functional/test_home.py: Add a 404 test and a test for the license page.
rgrp
Add support for markdown formatted package notes. * trunk/ckan/tests/__init__.py: Change notes attribute on test package to have some markdown formatting. * trunk/ckan/controllers/package.py trunk/ckan/tests/functional/test_package.py trunk/ckan/templates/package/read.html: Process package.notes attribute using MarkdownFormat.to_html when displaying. * Also refactor layout of read template to be clearer now that we have complex html ge…
rgrp
Sort out Register and Login link that goes at the top of every page. * trunk/ckan/controllers/base.py Create a new CkanBaseController in which we set common template variables. * Set variables c.user, c.remote_addr and c.author * trunk/ckan/templates/layout.html: Modify top right register and login section in master template to: * if no c.user to have register and login link * if c.user set show c.user and link to logout * trunk/ckan/tests/functional/te…
rgrp
Add basic account (user) support. Unfortunately the login unittest just will not work (despite same actions working from command line and the browser) so have had to comment them out for time being. So far have implemented: * Authkit integration to provide form and openid authentication (use form in tests but openid in production) * Login and logout pages * Account index page giving information about openid and logging in * Issues: * unittest login * using a nice template for for login form
rgrp
Set author and log_message for package 'create' and 'update' and 'edit' action. Use user (REMOTE_USER, REMOTE_ADDR) to create author value.
rgrp
Impvovements to revision controller. * Add read action * Separate (but currently identical) list and index action * Link to individual revisions from the revision list * Expand tests to deal with these and extend/refactor existing
rgrp
Add Recent Changes from major navigation bar to revision controller (/revision/).
rgrp
Create revision controller and provide an index action to list all revisions (in future will be limited to most recent ones). * trunk/ckan/tests/__init__.py create_test_data: set txn author and log_message when creating test data so that we can use this in testing. * trunk/ckan/controllers/revision.py trunk/ckan/tests/functional/test_revision.py trunk/ckan/templates/revision trunk/ckan/templates/revision/layout.html trunk/ckan/templates/revision/__init__.py trunk/ckan/templates/revision/list.html: Create re…
rgrp
Merged (should be named 0.3) 0.2 branch (re-introduce versioning support into domain model using new vdm package) changes r108:123 into the trunk.
rgrp
Show tags on package read action and refactor that page a little at same time (move from list to simple paragraphs and put attribute names in <strong>).
Tags
ckan-0.2
rgrp
bugfix: fix support for adding a tag on a package via the web interface when tag does not already exist. * forms/__init__.py, tests/forms/test_package.py: Change PackageSchema._update_tags to use Package.add_tag_by_name * models/package.py: Only add tag if that tag not already attached (so we don't get duplicate tags on a given package)
rgrp
micro: couple of tweaks to template text. * trunk/ckan/templates/layout.html: Get rid of 'Primary Side Bar Goes Here' placeholder text * trunk/ckan/templates/home.html: Fix grammar in last para on page
rgrp
ckan2/trunk/README.txt: Updated installation and setup instructions following experience deploying on test.ckan.net.
rgrp
Add an edit link on the package read page.
rgrp
Minor fix to home page text.
rgrp
Add py:strip="" on layout templates to get rid of repeated <html> tags. * TODO: also had to remove DOCTYPE declaration and not sure how to get it back in a genshi compatible way.
rgrp
Simplify 'new' package action and improve by adding proper validation. * trunk/ckan/forms/__init__.py, trunk/ckan/tests/forms/test_package.py: * UniquePackageName: new validator * LowerCase: new lower case validator * package_name_validator: string a bunch of validators together using All * PackageNameSchema: schema using package_name_validator * trunk/ckan/controllers/package.py, trunk/ckan/templates/package/create.html, trunk/ckan/templates/package/ne…
rgrp
Add 'tags' fields on edit form and add functional test.
rgrp
Change package controller update action to use new PackageSchema. * controllers/package.py * edit: use PackageSchema.to_python method to replace previous by-hand updating * forms/__init__.py: When splitting tag string use simple split() rather than split(' ') to avoid errors with empty string ''
rgrp
* models/test_package.py: Minor: adding a new unittest * test_add_tag_by_name_existing * Change to use unicode for tag names
  1. Prev
  2. Next