Commit graph

33 commits

Author SHA1 Message Date
bsag
86b8753c17 I'm seriously beginning to hate #188, but it really is fixed now. Really. The problem before was that due to a weird conjunction of due dates and creation dates on my sample set, it did actually work for me. now I use the same bit of code to display the actions on the home page and on the txt page, so it really is the same. If anyone opens that ticket again, woe betide them... :-D
Also fixes #109: lolindrath's patch (plus a bit of extra tinkering) means that newly created and newly edited actions get the [C] link if they are on the projects page and the [P] link otherwise.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@147 a4c988fc-2ded-0310-b66e-134b36920a42
2005-10-02 10:35:07 +00:00
bsag
cc78e8b58b Applied lolindrath's patch to fix #73: next actions which were completed yesterday now show up correctly in the 'Completed in the last 7 days' box on the completed action view.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@139 a4c988fc-2ded-0310-b66e-134b36920a42
2005-08-26 18:28:03 +00:00
nic
91641500a7 Merged tracks-mu-import branch changes r113:130 into the trunk
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@131 a4c988fc-2ded-0310-b66e-134b36920a42
2005-08-08 01:54:05 +00:00
bsag
3f90096bb8 Completed projects no longer appear in the Projects drop down on all the forms. Fixes #66.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@105 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-12 12:14:30 +00:00
bsag
b4d72cf17a Updated the documents, which are now in doc (CHANGELOG and README_FOR_APP).
Also removed the tabs from all the files, and replaced with spaces (2 per tab).


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@102 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-11 12:24:19 +00:00
bsag
125f31cc48 Bit more cleaning up.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@98 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-05 11:41:44 +00:00
bsag
9f89610fab The dropdowns for contexts and projects are now ordered by the position attribute, so if you move your 'default' context or project to the top of the list in /contexts and /projects, that will be the default option in the dropdown.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@95 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-04 17:11:59 +00:00
bsag
9c912c18a5 New images (from eclipse.org) for the edit, delete, notes and up, down, top and bottom buttons. I've made a greyscale version for the default, then the coloured version gets loaded when the mouse is hovering over the button.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@93 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-04 15:55:58 +00:00
bsag
f772114c66 Applied lolindrath's patch (ticket #12), which fixes the calculation of dates for the completed page so that it works with all the database formats. Thanks, lolindrath!
Also put back _done.rhtml partial after accidentally removing it. Thank goodness for Subversion revisions...


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@88 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-28 14:58:13 +00:00
bsag
8406a482d5 Merged branches/TRY-BSAG-ajax back to the trunk.
...and we're back!


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@86 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-28 14:08:44 +00:00
bsag
0577e850f6 [Contributed by Arnaud Limbourg, ticket:18] A new entry in settings.yml allows you to choose the number of completed actions you want to see on the /todo/list home page. Also sorts by due date (ascending) first, then creation date (descending) on /todo/list, /context/show/[name], and /project/show/[name]
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@57 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-03 11:45:05 +00:00
bsag
1b632830bc I *think* I've fixed the problem with hidden contexts not getting hidden. Lolindrath suggested putting quotes around the arguments to find_all_by_hide, and says that it fixed it for him. Should fix ticket:13.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@55 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 18:56:29 +00:00
bsag
ec69c71564 [Contributed by Nicholas Lee] Changes to the way that URLs are specified which should improve the situation for people using Tracks in a subdirectory.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@54 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 15:35:37 +00:00
bsag
7c814b5131 Prefixed all page titles with "TRACKS::" to make them more obvious when you have several windows open. Fixes ticket:15 suggested by timfm.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@51 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 08:54:28 +00:00
bsag
e0b9ba0182 Added first patch contributed by Jim Ray: adds a host of fixes and bits of cleaning up, including a position column for contexts and projects to allow custom sorting, and changes to the links for pages to make them more human-readable.
I also added a pop-up calendar to set the due date. This is entirely lifted from Michele's excellent tutorial on pxl8.com (<http://www.pxl8.com/calendar_date_picker.html>). It works well, but I need to make sure it doesn't break in postgresql or sqlite.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@49 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-27 17:45:49 +00:00
bsag
dec033fb30 * Added a mini-calendar to the todo/list page. Needs some tidying up, but it provides a quick way to look up a date a few months ahead. Note that it doesn't insert the date: it's just for viewing. I modified the calendar a little bit from here: <http://www.pxl8.com/basic_calendar.html
* Added some XMLHTTPRequest calls to speed up checking off an item as done. It grabs the checked item and appends it immediately to a 'holding' section (where you can uncheck it again if it was a mistake, or add a closing note). When you next refresh the page, it will be added to the 'Last 5 completed items' section.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@47 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-13 19:43:03 +00:00
bsag
6f51118766 Patch submitted by Sean Santry: this adds more useful information to the flash notifications when items are added, deleted or created, by giving you the name of the context, project or next action that you are acting on. Thanks Sean!
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@44 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-10 22:40:01 +00:00
bsag
5b34c57c81 A handful of tweaks and adjustments:
* Added some more validation statements to make sure that context and project names aren't duplicated
* Sort contexts by name rather than id (a placeholder until I can get custom sort orders working
* Made the default environment production in environment.rb


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@34 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-02 16:09:49 +00:00
bsag
49b2ad4dc7 Added caching properly this time. Caches todo/list page quite well, then list action of context and projects controllers.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@32 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-27 12:27:35 +00:00
bsag
bc9f91c32d Protected RSS and text feeds at last! The appropriate URLs can be copied from the RSS and TXT links in the navigation bar. The URL includes the login name of the current user, and an MD5 encoded string of the 'word' field of the users table. This is checked against users to make sure it's valid; if it is, the feed is displayed, if not, you get an error message.
I still need to link up the signup page so that users can enter a string as a 'word' to be encoded.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@30 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-25 19:04:16 +00:00
bsag
14334563ee Modified the 'count' badge on todo/list: now shows the number of uncompleted items in contexts that *aren't* hidden (i.e. the actions actually listed on todo/list). Number of items in hidden contexts are shown in parentheses after the link to that context. So you don't forget about that stuff ;-)
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@29 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-25 15:24:58 +00:00
bsag
de31b57852 * Upgraded to use Rails 0.10.0
* Changed require of Redcloth to favour gem version of version 3.0.3 or greater
* Changed the way that URLs are generated for stylesheets and javascripts by using AssetTagHelper


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@28 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-24 22:48:21 +00:00
bsag
60934fb8c8 Added some rudimentary sorting of completed items. They are now sorted in to done today, done in the last 7 days and done in the last 31 days. At the bottom of completed.rhtml, there's a link to completed_archive.rhtml, which shows archived items older than 31 days.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@23 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-13 17:45:45 +00:00
bsag
14298d1787 Changed the method of specifying a date to one using form options. By default, a blank date (which returns NULL) is selected. The due date is still _displayed_ in your chosen date format (from settings.yml).
This seems a more robust method, and is much simpler to use. The month is given as a name rather than a number, so it's obvious what should be entered.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@17 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-05 14:43:40 +00:00
bsag
3fe9326322 Emergency diff to make sure everything is safe. No major changes.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@16 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-04 06:29:33 +00:00
bsag
36b36e8dac This is a bit of a messy commit ;-)
* Moved the forms (for edit and add_item) into a partial, which saves some time. It's not as clean as I would like.
* Added some caching back in.
* Error message display still isn't working, so I've taken those code stubs out for now.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@15 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-29 15:07:47 +00:00
bsag
ed4481f3b6 Added a new row to the context table: hide. This determines whether a context gets hidden from the front todo/list page (it can still be accessed directly or via the context/list page). If it's true (1), the context is hidden. By default, it's false, so you don't have to check the box for every context you add, only the ones you want to hide.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@14 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-23 19:49:41 +00:00
bsag
9a649506a5 Yet more refactoring, particularly of the option drop downs.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@13 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-23 19:15:17 +00:00
bsag
3c196c46d8 Fixed the count of undone items on the main page again, after breaking it ;-)
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@11 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-23 12:31:10 +00:00
bsag
f7b77f6fd9 Did some refactoring of the todo/list page, which should make it a little quicker to load.
Changed the toggle_check method to use the built-in toggle() method, and moved setting of completion date to the before_save method of todo.rb


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@10 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-23 11:50:07 +00:00
bsag
d7b1c6e167 Having problems committing.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@9 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-22 15:43:39 +00:00
bsag
49b8fa1007 * Started to add some of the framework for iCal integration (not working yet)
* Added validation for next actions (on description and notes field)



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@7 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-16 15:24:34 +00:00
bsag
ec3ee77797 Initial import
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@1 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-09 11:59:57 +00:00