bsag
6c44e5231b
A few more edits to the documentation.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@103 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-11 13:52:15 +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
977ca82306
Fixes #62 .
...
The problem was that project (and context) names were made into URLs via the 'urlize' method which substituted spaces for underscores and downcased the string. This was then converted back to the real project name by the Rails method 'humanize', which substituted spaces for underscores and Capitalized the string (i.e. only the first word was given an initial capital). This meant that visiting /project/show/project_name would fail if the real project name was either 'Project Name' or 'project name'.
I altered 'urlize' to maintain the capitalization that was entered, and created a new method 'deurlize' that just reversed this change (i.e. swapped underscores for spaces, but left capitalization as is).
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@101 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-07 18:39:51 +00:00
bsag
9587984ecb
Updated file names of *.sql files to reflect the new version.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@99 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-05 12:00:22 +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
7af463c3f8
Nearly there...
...
I've removed my experiment with lib/math as it was throwing an error.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@97 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-05 11:22:00 +00:00
bsag
78c118181c
Patch by nic, fixes the incorrect count for next actions in contexts and projects in the sidebar, and also packages up the methods nicely into the models files. Thanks, nic! Fixes #53 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@96 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-05 09:54:58 +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
c772ddd282
Applied nic's patch to fix #8 . Next actions now only get marked with the staleness flag if they '''don't''' have a due date.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@94 a4c988fc-2ded-0310-b66e-134b36920a42
2005-06-04 16:50:29 +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
e202abac89
Updated db files to reflect new column in projects table.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@92 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-29 12:57:44 +00:00
bsag
8a08515227
You can mark projects as completed (by editing the project on /projects). In the 'sidebar' active and completed projects are shown separately, but you can still view the completed project.
...
Fixes #5 .
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@91 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-29 10:31:49 +00:00
bsag
ed5d72e9e1
Contexts and projects can now be sorted in any order you like. Arrow buttons on the /contexts and /projects pages let you move an item to the top, up, down or to the bottom. For contexts, this affects the order in which they sort on the home page. Fixes #46 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@90 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-29 09:32:02 +00:00
bsag
c6ec129570
Fixes ticket #8 .
...
There's a new setting in settings.yml (staleness_starts) which defines the number of days before which actions get marked as stale. Let's say you set it to 7 days. Actions created between 7 and 14 days ago get marked pale yellow, those created between 14 and 28 days ago (staleness_starts * 2) get marked darker yellow, and those created more than 28 days ago (staleness_starts * 3) are fluorescent yellow! If you see fluorescent yellow, you should '''really''' get down to doing that action.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@89 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-28 16:24:41 +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
6cd9335de8
The popup calendar now works for updating actions too. Just click in the date field to pop the calendar up.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@87 a4c988fc-2ded-0310-b66e-134b36920a42
2005-05-28 14:33:39 +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
71bbb06d3e
A little housekeeping on the filesystem.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@65 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-09 10:54:45 +00:00
bsag
086846e43b
[Patch by lolindrath, #29 ] Added position column to postgreSQL and SQLite table db files. Also removed content from SQLite db file. So now all of the table db files for all 3 db include only table definitions, and the content file should work for all three formats.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@64 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-09 09:27:48 +00:00
bsag
e0606f8483
[Patch by lolindrath - #30 ] ISNULL(due) wasn't compatible with postgreSQL, so changed to due IS NULL which works with all 3 db formats.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@63 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-09 09:12:25 +00:00
bsag
dace1ce903
Fixed projects drop down on edit page. You can now set the project to 'None' on the edit page. Fixes #27 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@62 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-09 09:06:42 +00:00
bsag
907c4b59ee
Changed name of the db content file to make it clear that it should work with all of the database formats.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@61 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-08 17:49:53 +00:00
bsag
82019dfdbb
[Patch by lolindrath - #9 , #28 ] Fixes various incompatibilities with the database table and content dump files for MySQL, SQLite and PostgreSQL. Thanks, lolindrath!
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@60 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-08 17:47:14 +00:00
bsag
0daad70f0f
[Patch by lolindrath #26 ] Sorting by date is now much smarter on /todo/list: Actions are sorted by ascending due date then ascending creation date, but non-due dated items sort to the bottom. This means that the most urgent items float to the top of each context list.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@59 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-07 20:48:32 +00:00
bsag
8998c7f520
Added a count of next actions to the /projects page, showing how many uncompleted next actions remain for each project. Fixes #7 .
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@58 a4c988fc-2ded-0310-b66e-134b36920a42
2005-04-03 15:03:59 +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
8fba2bebc6
Edited contributors list.
...
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@56 a4c988fc-2ded-0310-b66e-134b36920a42
2005-03-30 21:06:57 +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
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