Commit graph

4262 commits

Author SHA1 Message Date
lukemelia
6156f26c47 Refactored TodosController#create method by introducing class to make it easier to work with the creation params.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@628 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-04 23:06:46 +00:00
lukemelia
11fb7c5b0e Fixed #595, an error when creating a new action, context and project at the same time, from the new action form. Thanks to SK for the bug report.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@627 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-04 05:18:13 +00:00
lukemelia
06d94b1f1c Fixed test that broke in late hours of the evening. Also, fixed syntax to suppress warning from open_id_consumer plugin.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@626 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-04 04:55:21 +00:00
lukemelia
6bec8101af Handled the negative case, when a todo failed to be created via XML API. Respond with 422 and xml-formatted validation errors.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@625 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-23 07:05:37 +00:00
lukemelia
e32fb1057e When creating a Todo via the XML REST API, the status code returned is now 201, and the Todo is reloaded before it is rendered as XML, so that the ID is included.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@624 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-23 06:46:58 +00:00
lrbalt
474404619a Improves performance for adding new actions. Removes costly query that was never used.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@623 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-21 13:54:47 +00:00
lrbalt
0703253a5e Fixes #554 by adding a spinner to the Update button when editing an action
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@622 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-21 13:18:31 +00:00
lrbalt
bc2e8007b1 Fixes #586 by changing ID into id. Thanks for reporting this.
Also fixes a small todo fixture error where the creation date was newer than the completed date

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@621 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-16 07:16:22 +00:00
lukemelia
ccccb53663 Rebuild the merged css for the new integration changes.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@620 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-15 14:07:12 +00:00
lukemelia
a0054eed19 Add an Integrations page, with assistance for implementing AppleScripts and cron jobs that integrate with Tracks.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@619 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-14 05:33:00 +00:00
lrbalt
8360f94bb8 enhanced stats for actions in the past 12 months. Added an avarage over the past 3 months to show some sort of 'trend'
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@618 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-12 19:44:07 +00:00
lrbalt
4f5126b5e8 Somehow the compressed javascript was empty. Uploading again
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@617 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-10 09:52:21 +00:00
lrbalt
0af173f4d2 fixes #547 by sorting the deferred_todos in the project view on the show date.
Furthermore, I regenerated the compressed css and js for those running trunk in production mode. And I removed two empty files that aren't used anymore in the stats view

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@616 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-10 07:57:41 +00:00
lukemelia
e0b63acfab Refactored tests for improved solubility/grokability.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@615 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-09 05:17:28 +00:00
lukemelia
b31561736e Cleaned up the TodosController tests a bit. Fixed a bug when you submit an invalid new todo in the mobile view.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@614 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-09 04:29:19 +00:00
lrbalt
f777593b8f Speeds up edit and update of an actions. Closes #548.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@613 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-08 19:34:42 +00:00
lrbalt
1dff683ea7 Fixes the 500 error when clicking a tag from project view. Fixes #583. Also removes two queries that are called twice
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@612 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-06 20:07:25 +00:00
lrbalt
765f51c44b Fixes two fixed path names to images. Fixes #582.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@611 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-06 13:19:06 +00:00
lrbalt
e32f890ea1 this patch removes date calculations from SQL and uses Ruby to calculate date differences. Cleans up some corner cases and fixes timezones for per hour calculations. Fixes #575
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@610 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-05 19:20:18 +00:00
jkebinger
5bff7f610d Workaround for bug in sqlite (adapter?) that requires column names on rename column statements to be strings, not symbols. Fixes ticket 579
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@609 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-04 17:42:48 +00:00
jacqui
dd2f530f74 ticket: 487 - make sure to remove extraneous spaces from project names when saving record
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@608 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-03 03:05:34 +00:00
lrbalt
fbcf864bde This patch adds a star to starred actions in the txt feed as suggested in #576
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@607 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-02 19:50:26 +00:00
lrbalt
358e1f61cc solved conflict of using class=notes for both notes controller and notes of actions. Solves #574
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@606 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-01 20:29:47 +00:00
lrbalt
5d4e8ffe3c solved conflict of using class=notes for both notes controller and notes of actions. Solves #574
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@605 a4c988fc-2ded-0310-b66e-134b36920a42
2007-10-01 19:55:36 +00:00
lukemelia
7d40e48230 Fixed an error when clicking new "star" item in navigation before any items have been starred. Closes #573.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@604 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-30 12:47:06 +00:00
lrbalt
6eb7e06e1b Testing commit by adding the features from the milestone to CHANGELOG
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@603 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-30 11:57:24 +00:00
lukemelia
7672112dd5 Committed Reinier Balt's patch to hide contexts on the mobile view's home page that are marked hidden in Tracks.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@602 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-27 03:08:50 +00:00
lukemelia
8206242c33 Fixed a couple of selenium tests.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@601 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-26 12:24:22 +00:00
lukemelia
17a880d2fa The recent changeset to the API introduced some test failures. I fixed those and also eliminated some warnings that were appearing while running the tests.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@600 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-26 12:05:21 +00:00
lukemelia
01824384c3 Apply patch from Jeremy Harper to fix a problem with Tickler tasks losing their show_from dates. Fixes #555. Thanks, Jeremy.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@599 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-26 11:50:04 +00:00
lukemelia
b334b51ec4 Apply patch from Reinier to be able to specify notes when adding a todo via the XML RPC API. Fixes #385. Thanks, Reinier!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@598 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-26 11:40:14 +00:00
lukemelia
9f5862d842 Apply patch to improve graph and tag cloud rendering on stats page. Thanks to Reinier Balt for the patch! Fixes #566.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@597 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-26 11:23:06 +00:00
lukemelia
13732088be Apply Jacqui's patch, so that "The "Toggle Notes" link in the navigation at the top should toggle the display of notes on items in a page, not the entire page.". Fixes #563.
Thanks, Jacqui!


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@596 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-22 23:18:54 +00:00
lukemelia
7728ea00d4 Applied patch from Jeremy Harper to add the tag name to the span tag surrounding it in the action output. This allows for fun with CSS colors if you're so inclined. Closes #562.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@595 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-21 05:58:36 +00:00
lukemelia
abbe01d115 Applied lrbalt's concept of using a star icon in the navigation to see a view of all starred actions. Closes #561.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@594 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-18 05:31:10 +00:00
lukemelia
15cdf6f114 Applied patch from lrbalt:
==
I've cleaned the stats_controller

* removed two unnecessary queries from get_actions
* cleaned up some inconsistent styling of SQL and Ruby
* added some comments
==
Thanks, lrbalt!



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@593 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-18 05:11:58 +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
b450d1026d Apply lrbalt's patch to cleanup a couple of stats issues. Fixes #558 and #559. Thanks Rob and lrbalt!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@591 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 21:33:36 +00:00
lukemelia
6e0e02714f Apply lrbalt's fix to address two small errors in the new stats page.
Fixes #556.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@590 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-15 04:56:08 +00:00
lukemelia
839feddb63 Tweaks to the new stats page to implement a workaround for a bug in the Flash add-in for Firefox/Mac. The workaround involves removing the opacity from the header navigation area for the stats page.
Also introduced FlashObject.js to handle Flash embedding, and removed some duplication in the views.

This changeset should also resolve problems with the stats page for people who don't run tracks from the root of their website.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@589 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-14 05:44:01 +00:00
lukemelia
054f6d6a77 Make context counts on the stats page a little more portable across databases.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@588 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-13 03:28:59 +00:00
lukemelia
8c26ea7cb5 Added the fantastic statistics work contributed by lrbalt! This is a work in progress. It's not rendering correctly for me in Firefox but is OK in Safari and there is at least one other minor error. Contribute bug reports and fixes to ticket #406.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@587 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-13 03:21:37 +00:00
lukemelia
4f3762a64c Make the selenium tests more elegant.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@586 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-12 07:21:40 +00:00
lukemelia
5cb42946c1 Introduced user-extensions.js file for selenium to clean up a few selenium tests. This is a powerful concept and could be used to really help the clarity and maintainability of the selenium tests in the future.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@585 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 05:34:21 +00:00
lukemelia
c6b3e1c0b8 Introduced asset_packager plugin to reduce the number of external javascript and css files loaded by Tracks. It is effective in test and production (not development) environments.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@584 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 05:13:15 +00:00
lukemelia
0e53ea5890 Fixed #523 (updating context in tickler does not move todo on screen)
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@583 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 04:17:01 +00:00
lukemelia
c3ccae9f9e Fixed a minor issue introduced by last changeset where default projects for contexts were not always behaving properly and resulted in javascript errors.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@582 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 02:53:08 +00:00
lukemelia
565a8a83be Fix #553 (context/action does not appear via ajax when creating first action/context for a user). A couple of new selenium tests support this fix.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@581 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-10 00:55:11 +00:00
lukemelia
fca5e5b88f Fixes #549 "on homepage the count of all actions is should update when moving an action to tickler". Thanks lrbalt!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@580 a4c988fc-2ded-0310-b66e-134b36920a42
2007-09-08 12:33:05 +00:00
lukemelia
c2ae4ab9b8 Updated migration 36 (checked in with the last changeset) to initialize existing completed projects with a reasonable completed_at date. If you've already migrated after updating to the last changeset, you can do the following:
rake db:migrate VERSION=35
 rake db:migrate
 
If not, you can just migrate normally. Thanks to lrbalt for the catch. Reclosing #550.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@579 a4c988fc-2ded-0310-b66e-134b36920a42
2007-08-29 02:05:17 +00:00