Commit graph

25 commits

Author SHA1 Message Date
lrbalt
80d46ac46f restore svn rev number in footer for trunk
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@793 a4c988fc-2ded-0310-b66e-134b36920a42
2008-04-03 18:35:17 +00:00
lrbalt
4a06076425 set the right version number for final release
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@769 a4c988fc-2ded-0310-b66e-134b36920a42
2008-03-31 21:26:03 +00:00
lrbalt
0c5f420902 update version of tracks for rc2 release
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@761 a4c988fc-2ded-0310-b66e-134b36920a42
2008-03-24 19:06:59 +00:00
lrbalt
bde47e44c7 fix for #673. Reporting revision number from TRACKS_ROOT instead of the current directory. To use this fix if you're using rc1 / trunk, you need to recreate your environment.rb
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@746 a4c988fc-2ded-0310-b66e-134b36920a42
2008-03-18 15:21:14 +00:00
lrbalt
f587ad6228 update version info to tracks1.5-rc1
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@726 a4c988fc-2ded-0310-b66e-134b36920a42
2008-03-04 20:47:54 +00:00
lrbalt
d4843af2a2 the svn rev number did not show up when you run tracks as a different user using --user and --group options of mongrel_rails. This was because svn is trying to open subversion options in the directory of the original user that is starting tracks. Pointing svn to an existing directory is enough for svn info to run.
Please note that this patch only changes the template. It does not change your own environment.rb. If you have the same problem, you'll need to change environment.rb by hand.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@717 a4c988fc-2ded-0310-b66e-134b36920a42
2008-02-28 08:40:07 +00:00
lukemelia
4b3ba0dd6a AJAX spinners are now contextual instead of in the same place on every Ajax request.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@668 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-03 03:24:05 +00:00
lrbalt
60b995bd14 Uses svn info to add revision nr to tracks version in footer of each page. This may help get more accurate report on version of Tracks in case of bugs. Got the code from the asset_packager plugin. Should work if svn is not available, in that case Tracks reverts to the default string '1.50-trunk'.
Please note that this commit requires you to change to your environmet.rb accordingly. You can just replace the last line of environment.rb with reads TRACKS_VERSION='1.050-trunk' with the last six lines of the new environment.rb.tmpl. Do not forget to restart Tracks.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@654 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-25 13:54:02 +00:00
lukemelia
abccc24f1f Add "require 'digest/sha1'" to environment.rb.tmpl. I didn't have this problem but a user reported not being able to run "rake db:fixtures:load" without this. Fixes #557.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@592 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 21:55:31 +00:00
lukemelia
530569351e Minor css change to fix ugly gray background on Completed radio button on project page.
Also, changed the version in the footer to 1.50-trunk to reflect that the next release will be Tracks 1.5.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@565 a4c988fc-2ded-0310-b66e-134b36920a42
2007-07-13 04:27:49 +00:00
lukemelia
3946dbf0c1 Remove URL Friendly Name concept from Tracks. They were associated with projects and contexts. Both projects and contexts can now have a slash in the name if you so desire.
Also fixed #486 (Inline edit of project title (from individual project page) fails). Thanks to James Kebinger for reporting the issue and for the patch.

N.B. This check-in requires the REMOVAL of one line from your environment.rb file. The line to be removed reads "require 'url_friendly_name'"



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@523 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-06 03:30:20 +00:00
lukemelia
d9a194ab64 Add the version of Tracks to environment.rb and include it in the footer of the web UI. Thanks to lrbalt for
the idea in #374.
 


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@522 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 05:48:09 +00:00
lukemelia
ba0b52ff1a Merged mobile_controller into the todos_controller. The lightweight mobile HTML is
arguably just another representation of the same resources, so it seems to fit
the RESTful Rails paradigm to use an extension (.m) to switch on in the
respond_to stanza.

I needed some hackery to make this work. See my note in todos_controller for
a full explanation.
 
I also added a route to get to the mobile view by using 'domain.com/m'

Created some selenium tests for the mobile view, too. 

In optimizing the data access for the mobile view, I ran into "a bug in rails
pagination":http://dev.rubyonrails.org/ticket/7885" and integrated a nice
pagination plugin from the Err the Blog guys
("will_paginate":http://errtheblog.com/post/929) to work around the issue.

NOTE that this changeset includes a new line in environment.rb.tmpl (at
the bottom). Be sure to copy this into your environment.rb file. 

These changes fix #489 (cannot edit action using mobile interface).
Thanks for the bug report, lrbalt!

In the name of consistency, I made the argument to the block for all
respond_to calls 'format' (instead of the formerly cool 'wants').

Lastly, I added a link to the project's new contribute page to the footer of
the main web UI. Help us join the Mac on Intel world. :-)



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@517 a4c988fc-2ded-0310-b66e-134b36920a42
2007-04-02 04:18:19 +00:00
lukemelia
06f14dd3b9 And here's the copy step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@501 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:52 +00:00
lukemelia
c34d9faa38 Arg. Branching never seems to "just work". Going to delete and recopy. Here's the delete step.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@500 a4c988fc-2ded-0310-b66e-134b36920a42
2007-03-30 04:36:14 +00:00
lukemelia
6aae34156e Broken project and context feeds were caused by NULL created_at/updated_at fields in the projects and contexts tables. This changeset makes the models user Time.now if those fields are nil. It would be best to set these fields to non-null values, but I'm not quite sure how to write that migration yet. Fixes #438.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@440 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-17 05:46:24 +00:00
bsag
d0666038f2 Removed acts_as_taggable because it is deprecated and replaced with has_many_polymorphs:
<http://blog.evanweaver.com/articles/2006/06/02/has_many_polymorphs>

Also removed chronic because it is not currently used.

  * Tags are entered separated by commas, so tags with spaces are allowed
  * When you edit an action, whatever is submitted in the tags text field replaces existing tags: if you submit an empty field, tags are removed from the action
  * Clicking on a tag shows a page listing all the actions with that tag (/todo/tag/tag+name)

Todo:
  
  * Tests
  * RESTful routes for Tags (if it makes sense for tags - I haven't decided)
  * If you remove tags for an action, it removes the entries from the Taggings table, but it can leave an orphan Tag if there are no more Taggings for that Tag. One problem is that another user might have an identically-named Tag, so we don't want to remove their Tag, just because we have finished with it. I'm not sure how to arrange this yet.
  
Don't forget to rake db:migrate. There is also a change in config/environment.rb.tmpl, so remember to copy the changes to your copy.
 


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@425 a4c988fc-2ded-0310-b66e-134b36920a42
2007-02-04 15:33:24 +00:00
lukemelia
aa41974d4c * Made links work for project and context links that contain an underscore('_') or a dot('.'). I removed urlize() and deurlize() in favor or methods on the models mixed in by the new UrlFriendlyName module.
* Removed tag_object() from application_helper as it was not being used.
* Introduced link_to_context() and link_to_project() helper methods.
* Fixed a javascript syntax error on the context page.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@373 a4c988fc-2ded-0310-b66e-134b36920a42
2006-12-11 04:48:56 +00:00
lukemelia
fed0daa96d Complete the transition of acts_as_todo_container to todo_list, a simple module.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@350 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-18 06:18:17 +00:00
lukemelia
78a89ccf3b Refactor acts_as_namepart_finder to a module, as suggested in the review of Tracks on The Rails Way.
http://www.therailsway.com/2006/11/15/tracks-part-1/



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@346 a4c988fc-2ded-0310-b66e-134b36920a42
2006-11-16 05:33:25 +00:00
lukemelia
4caca8db70 Improved reliability of ldap test (somewhat... it's still very environment specific).
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
2006-11-06 07:32:48 +00:00
lukemelia
99b734a52c My apologies for this large, multi-pronged commit. What's here:
* 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
2006-11-05 10:41:59 +00:00
lukemelia
4e0b459524 Applied Tomas Rich's patch (with some refactoring) to introduce a new api method
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
2006-10-27 07:19:24 +00:00
bsag
5cd580db6f Changed the Timzone setting in the iCal file from a hardcoded value to the value of ENV['TZ'] which is set in config/environment.rb. If no timezone is set, and default of GMT is used. Updated the comment in the file to make this clear.
Fixes #275



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@243 a4c988fc-2ded-0310-b66e-134b36920a42
2006-05-13 14:49:33 +00:00
bsag
4c7f3409a0 # Added time zone setting to environment.rb.tmpl. It's commented out by default, but if your server is set to a different time zone than the local machine on which you access Tracks, you can set your local time zone here to have all of the dates adjusted. This setting is global for all users, and is an interim measure until I can get per-user time zone settings working. Fixes #238.
# 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
2006-04-17 10:27:48 +00:00