Fixed validations in User model.
Updated environment.rb.tmpl to be a little easier to follow.
A note for upgraders. Be sure to include the following line in your environment.rb:
AUTHENTICATION_SCHEMES = ['database']
See environment.rb.tmpl for details
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@337 a4c988fc-2ded-0310-b66e-134b36920a42
* Introduce Tracks::Config class to wrap environment.rb config settings
* Remove unused admin and index actions from user_controller
* Introduce flash partial and standardize on symbol keys for the flash hash
* Replace usages of render_partial with render :partial
Two new authentication options! These probably need documentation...
* Introduce LDAP authentication option (see configuration in environment.rb.tmpl). Thanks to Jeremy Evans for creating the SimpleLdapAuthenticator plugin. Note: the ldap auth integration test is likely to be fragile. Works for me on OS X with openldap, but your mileage may vary.
* Introduce Open ID authentication option (see configuration in environment.rb.tmpl and http://openid.net for more info). Thanks to East Media for the Open ID Consumer Plugin.
In environment.rb, you can enable any combination of the three auth options. If you have more than one selected, users can opt between them via their preferences pages. To play with the Open ID auth, you can get an identity at pip.verisignlabs.com.
Note that there are some new migrations to support the new authentication options, so don't forget to rake migrate!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@334 a4c988fc-2ded-0310-b66e-134b36920a42
that allows task creation using the same syntax as the "Send to kGTD" quicksilver plugin:
Put an @ in front of context name and > in front of project name so "Call jim @calls > Fix house"
would create the "Call jim" todo in the calls context and the Fix house project.
If there aren't any exact matches, it selects the first context and project that starts with the given strings,
so "Call jim @cal >Fix h" would also work.
If no project and no context are give,
it works exactly like the NewTodo.
It also supports the ability to create a new project on the fly by prefacing
the project with "new:", for example "Call jim @calls > new:Clean the porch"
The new api method the new api method has the name NewRichTodo, which neither Tomas nor I like very much.
Perhaps you have an idea for a better name?
Closes#384.
Also, I removed duplication between context and project models by
introducing acts_as_namepart_finder and acts_as_todo_container.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@333 a4c988fc-2ded-0310-b66e-134b36920a42
# Added config/environment.rb.tmpl and set svn:ignore on environment.rb so that your personal setting for SALT and ENV['TZ'] isn't committed to the public repository if you have commit access. You need to copy the changes in environment.rb.tmpl to your environment.rb if you already have an installation, or copy environment.rb.tmpl to environment.rb if it's a new installation. Fixes#235.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@226 a4c988fc-2ded-0310-b66e-134b36920a42