lrbalt
6ff79354df
fixes #612 I hope. Changes all GROUP BY clauses in custom SQL.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@679 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-08 21:05:24 +00:00
lukemelia
8ba75f3bc9
Rebuild packaged css and js to include changes in [676].
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@678 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-07 19:48:59 +00:00
lukemelia
b2526926a5
Fix OpenID support, which was broken a month ago while fixing deprecation warnings.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@677 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-07 19:46:24 +00:00
lukemelia
5fa50512ce
Waiting spinner now does not appear incorrectly. Fixes #616 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@676 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-07 15:39:38 +00:00
lukemelia
95962c98cc
Added a link to the API docs to the bottom of the sidebar.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@675 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-05 06:53:49 +00:00
lukemelia
ac5590f923
Added documentation for REST API.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@674 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-05 06:48:24 +00:00
lukemelia
413fcb4db7
Fixes #615 . Tracks should work even when SUPPRESS_ASSET_PACKAGER is not defined. SUPPRESS_ASSET_PACKAGER is a (now) optional constant that when set to true will suppress the asset_packager plugin from using the single packaged version. Useful for selenium testing.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@673 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-04 20:56:25 +00:00
lukemelia
36c35a7a86
Tweaked the REST API for ActiveResource compatibility. Introduced a plugin I'm calling to_xml_rails2_style that patches Rails 1.2.x to make Hash#to_xml and Array#to_xml have the same behavior as in Rails 2.0. This means that people can use ActiveResource as a client to consume their Tracks data. See the new example client in doc/tracks_api_wrapper.rb.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@672 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-04 06:24:23 +00:00
lukemelia
1d8a9c877b
Fix a failing test.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@671 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-03 03:41:07 +00:00
lukemelia
8c7afc4c32
Whoops. The last changeset broke marking todos as done/not-done. Fixed.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@670 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-03 03:34:04 +00:00
lukemelia
e39287230f
Rebuild packaged javascript and remove old generic spinner HTML, and remove a reference to hide it.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@669 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-03 03:27:18 +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
0e3083646f
forgot one file in last commit
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@667 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-02 13:10:24 +00:00
lrbalt
ba56090ee0
* updates the Open Flash Chart to latest version which containts bugfixes
...
* updates the pie charts to truncate the labels. Long labels causes the pie chart to become very small
* updates the 12 month chart so that the current month includes the averages from the past 2 months
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@666 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-02 13:04:33 +00:00
lukemelia
e6f42cd341
Fix failures in Selenium tests Project listing > Edit twice and Project listing > Edit then delete.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@665 a4c988fc-2ded-0310-b66e-134b36920a42
2007-12-01 20:20:00 +00:00
lrbalt
579acb5cdb
Added a tabindex to the Add Action button so you can navigate to the button with tab. Solves #613
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@664 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-30 21:56:42 +00:00
lrbalt
2afcaa022e
changed the query to calculate unique tags to prevent Rails from using SELECT DISTINCT construct. Hopefully this solves #612 . Please test, because I don't use PostgeSQL.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@663 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-30 21:33:17 +00:00
lukemelia
0f823a8a2e
Fix issue where completed items would redundantly show context on a context page and project on a project page.
...
Eliminated some N+1 query generation issues on context and project detail pages related to looking up tags.
Added rake task to turn on and off the mysql query_analyzer plugin, which I'm using to help in my optimization process.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@662 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-27 05:51:38 +00:00
lukemelia
1516d7ae14
Learned a better way to force an immediate load of an association (passing (true)) and applied it to the index action of the contexts and projects controller. Thanks to teferi in @nyc.rb for the assist.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@661 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-27 03:00:38 +00:00
lukemelia
7b40b7f77c
Forced an earlier load of a user's contexts on the contexts listing page so that calls to size and empty? don't result in additional SQL queries.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@660 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 03:19:58 +00:00
lukemelia
584fdf2d34
Eliminated unnecessary double UPDATE on each todo when activating deferred Todos.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@659 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 03:05:37 +00:00
lukemelia
b16ff933cb
Eliminated double UPDATE when marking actions done or not done. Eliminated query for count of complete Todos in cases where it is not used.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@658 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 02:58:21 +00:00
lukemelia
bfb51dd472
Cleaned up logic in User#autheticate.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@657 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 02:00:09 +00:00
lukemelia
9179dbd16e
Don't try to authenticate when the provided username is blank.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@656 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 01:57:21 +00:00
lukemelia
d4f0344ec3
Add a pair of rake tasks to enable/disable the query trace plugin.
...
rake query_trace:on # Enables the query_trace plugin. Must restart server to take effect.
rake query_trace:off # Disables the query_trace plugin. Must restart server to take effect.
This is for developers for use in optimizing Tracks.
See http://www.pivotalblabs.com/articles/2007/11/17/rake-query_trace for more info.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@655 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-26 01:53:57 +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
lrbalt
439e40693d
updated compressed stylesheets because of previous commit
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@653 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-24 20:10:20 +00:00
lrbalt
8ca6956886
in IE7 when you edit an action, part of the edit form disapears. I found a solution in http://www.ibloomstudios.com/articles/debugging_css_in_internet_explorer_-_part_1/ by adding positions:relative to some classes.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@652 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-24 20:08:11 +00:00
lrbalt
7c2282ba57
make flash objects respect z-ordering of layers. Fixes #596 . See http://www.adobe.com/go/tn_15523 for explanation of this issue.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@651 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-24 19:19:07 +00:00
bsag
b584ddbeff
I'm not sure what happened to the last commit message, anyway installation instructions for new users added in files installation.markdown (for editing) and installation.html (automatically generated from the former). I plan to merge all thse files into one manual, available in HTML and PDF format.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@650 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 18:30:43 +00:00
bsag
73e01612bd
Added
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@649 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 18:27:58 +00:00
lukemelia
f9b155d4a6
Added classic_pagination plugin to eliminate deprecation warnings in Rails 1.2.5.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@648 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 09:08:14 +00:00
lukemelia
963a878074
Rebuilt CSS and JS packages.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@647 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 09:07:21 +00:00
lukemelia
77cb38d420
Remove unneeded selector from CSS.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@646 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 09:03:41 +00:00
lukemelia
c2a547e6de
Upgraded to Rails 1.2.5. Added classic_pagination plugin since Rails paginantion is deprecated and was giving a warning. Got all the tests passing except a couple of selenium ones related to trying to edit a project twice.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@645 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 08:49:51 +00:00
lukemelia
ae95f03c5b
DRY up javascript for form visibility toggling.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@644 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-18 08:05:39 +00:00
lrbalt
cb648ef141
changed edit forms for projects and context to make them consistent with edit form of actions. Fixes #610
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@643 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-17 21:12:34 +00:00
bsag
df66ae7d0a
Made a start on the documentation for upgrading to 1.5. Instructions for upgrading from 1.043 are finished, but instructions for earlier versions still need to be added.
...
My intention is to produce the documentation in MultiMarkdown format so that HTML and PDF (via LaTeX) manuals can be automatically generated. So please make any edits to the *.markdown file, and re-generate the HTML file from it.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@642 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-17 18:36:58 +00:00
lrbalt
ceff384851
added CHANGELOG_TRACKS in root dir which references /doc/CHANGELOG. Fixes report of dottedmag in #577 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@641 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-16 21:04:59 +00:00
lrbalt
8a53096f99
Added totals of contexts and projects as a badge-count in the menu bar as suggested in #597 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@640 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-16 14:28:52 +00:00
lrbalt
30be8cf84c
regenerated the compressed stylesheet because of changes in standard.css in previous commit
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@639 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-13 21:54:02 +00:00
lrbalt
4b3cad8b81
Changed the input forms for project and context. They are now more consistent with the new action form. Solves #600
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@638 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-13 21:49:54 +00:00
lrbalt
289637f6e1
updated the compressed stylesheet for people running production
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@637 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-12 08:16:25 +00:00
lrbalt
e8ac4f1500
added page title and changes css of table as suggested in #599 . Thanks sk!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@636 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-12 08:07:06 +00:00
lrbalt
b17242308e
removed references to unimplemented import functionality. From the discussion in the mailinglist and #289
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@635 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-11 19:58:04 +00:00
lukemelia
83df7916da
Added tags to YAML, CSV and XML export.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@633 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-06 05:04:00 +00:00
lukemelia
574f269d54
Hide default context field in new project form when no contexts exist. Fixes #544 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@632 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-06 04:37:04 +00:00
lrbalt
ff90b6d737
changed chart for actions in the past 12 months to interpolate the current month. Also updated the open-flahs-chart to the latest version and removed a small error (corner case) in completion_time chart
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@631 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-05 12:45:00 +00:00
lukemelia
b440e2b2ee
Fixed #581 , "Empty tickler screen should display a message", and handled the related ajax implications.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@630 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-05 05:42:43 +00:00
lukemelia
71010ff681
Fixed #593 , where the stats page failed to render if the user has no actions. Thanks to SK for the bug report.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@629 a4c988fc-2ded-0310-b66e-134b36920a42
2007-11-04 23:23:35 +00:00