Commit graph

4497 commits

Author SHA1 Message Date
bsag
310b763fb5 Fixed the enumeration of actions in hidden contexts on the /todo/list page, that was broken in changeset:49. Fixes ticket:16.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@53 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 09:53:46 +00:00
bsag
73a588fe26 Added a footer with links for various kinds of feedback on Tracks. Fixes ticket:1.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@52 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 09:43:22 +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
5fc3636f72 [Contributed by Andrew Williams] Toggling of contexts in /todo/list to collapse or expand their display via a small '+' or '-' graphic. This is independent of the shown/hidden setting for contexts, and is ideal for just hiding things on the fly to focus your view. The toggled state is stored in a cookie.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@50 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-28 15:18:22 +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
f6eeb1d20d Updated to run under Rails 0.11
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@48 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-26 15:37:50 +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
30ccf8446e Fixed SQLite dump format in db/tracks_1.0.2_sqlite.sql (thanks, Jim). This fixes ticket:9
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@46 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-12 12:13:28 +00:00
bsag
2f2909e930 Fixed 2 bugs in 1.02:
* Added the border=0 back to the images for edit and delete actions, which I had accidentally removed at some point (fixed ticket:11)
  * Removed Redcloth requiring code in config/environment.rb, as Rails now requires Redcloth itself (fixed ticket:10)


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@45 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-12 11:53:59 +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
eee3480918 Fixed some errors in the example database schemas.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@42 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-10 15:56:21 +00:00
bsag
702180e8b2 Minor tidying up.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@40 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-10 15:17:20 +00:00
bsag
05c037ef3f Updated README files, and database schemas.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@39 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-10 14:52:45 +00:00
bsag
c12cab974e A fix for ticket:4
Added a list of other contexts and projects to the context/show/[id] and project/show/[id] pages, so that you can easily navigate between the filtered views of contexts and projects, without having to go back to context/list or project/list.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@38 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-09 18:53:54 +00:00
bsag
0755309684 Abstracted the :start_year option in the date_select call in the forms, so that it starts at this year without having to hard code it.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@37 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-05 19:57:41 +00:00
bsag
6703f48333 Fixed broken editing of next actions within project/show.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@36 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-05 10:23:49 +00:00
bsag
c9d8ebda95 Updated the database dumps for Postgresql, and MySQL (separate content and tables dumps).
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@35 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-03 07:31:50 +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
cd1984ad22 Set date selectors for due date to start at 2005 (can't think of any reason someone would want to set a due date in the past).
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@33 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-27 21:32:21 +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
7776931d69 Better signup system implemented. The users table has another new column, 'is_admin'. If no users have been created, the first user to sign in is made the admin user. If the admin user (while logged in), visits the signup page, the form indicates that this user can create a new user (who won't have admin rights). If anyone who is not not logged in and not an admin user visits signup, they are greeted with a message that they don't have permission to create an account, and should contact the admin. I've made a new field in settings.yml to hold your admin email address for this purpose. This should mean that you can safely leave signup.rhtml intact on a public server.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@31 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-26 21:19:44 +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
2f182327e8 Cleaning up after the mess I left.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@27 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-20 18:52:53 +00:00
bsag
069f859aae Added keywords to CHANGENOTES.txt
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@26 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-20 18:51:54 +00:00
bsag
32f7edcd99 Changed the require_gem lines in environment.rb to guard against the routing-based changes in the next version of Rails. This should just be a temporary measure, but currently makes Tracks use v. 1.6.0 of ActiveRecord, 1.4.0 of Actionpack, 0.6.1 of ActionMailer, and 0.9.5 of Rails.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@25 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-15 21:34:21 +00:00
bsag
d89ad2f42b Somewhere along the line, I broke editing of actions on the context/show/id pages. Fixed by making sure that the edit button uses the todo controller and edit action.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@24 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-14 11:26:39 +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
660c77b842 Stupid mistake in the last commit :-(
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@22 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-12 12:52:29 +00:00
bsag
84a3d63abb Added a new entry to settings which holds the base path of your Tracks installation. This is used for the javascripts and stylesheets path in standard.rhtml so that the full path is given.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@21 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-12 12:46:20 +00:00
bsag
008d850f13 Commented out the line in application.rb which loads iCal.rb.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@20 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-12 12:19:59 +00:00
bsag
ce14b8f77d Minor edits. Changed the date format string in layout to use %d rather than %e.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@19 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-12 11:31:19 +00:00
bsag
f2861a5bc7 Removed the last of the scaffolding from the project and context controllers, which was just supporting the editing of individual context or project names.
Tinkered a bit with the form layout and appearance.



git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@18 a4c988fc-2ded-0310-b66e-134b36920a42
2005-02-06 14:36:55 +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
177180ea6e Did some more refactoring into partial templates.
Seems like I have too many divs in the next actions lists, so changed those to tables instead.


git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@12 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-23 16:14:08 +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
8428a4ade5 * Added validation for presence and length of name field when adding contexts and projects
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@8 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-16 15:35:24 +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
2b65b3162b Set ignore properties
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@2 a4c988fc-2ded-0310-b66e-134b36920a42
2005-01-09 12:32:16 +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