Commit graph

472 commits

Author SHA1 Message Date
Reinier Balt
33af53c313 make sure tracks does not crash on missing every_other2 for recurring todos 2010-04-19 14:05:02 +02:00
rverchere
c769b2a7eb Closes #1024. Do not create user with ldap auth if wrong password 2010-04-16 04:29:29 +08:00
rverchere
b9f1f57740 Closes #1023. Display login form when ldap is the only auth system 2010-04-16 04:29:29 +08:00
Reinier Balt
e15425d546 if every_other1 is not filled in for recurring patterns, things start to fall apart. Added basic checks. 2010-04-14 09:15:02 +02:00
Eric Allen
67df223488 Drag todos between contexts
Closes #1020
2010-04-10 16:08:09 -04:00
Eric Allen
6e65435895 Fix failing tests of context deletion
The notice causes the test to think the context name is still displayed.
Fixed by looking for the name plus an opening parenthesis, which doesn't
occur in the notice.
2010-04-10 15:14:56 -04:00
Eric Allen
a022f449c1 Fixed failing tests
- Some fixtures added by Erik Ordway broke tests
- message:// links had an edge case I broke with 68701ada
- One test had a hard-coded id that changed

Closes #1019
2010-04-09 09:34:57 -04:00
Eric Allen
68701adaca Sanitize output well, but entity-ize < and > in notes
Coming from a rich message or API call, notes can contain HTML and it
will render to the browser. Coming from a normal todo creation, though,
all < and > characters will be replaced with the corresponding entities.
This preserves HTML emails, but prevents users from breaking the layout
by entering broken HTML for todo notes.

Closes #765
2010-04-07 10:06:46 -04:00
Reinier Balt
c3b3e3ea04 Manual apply fix from 1.7_branch. Preserve database integrity for recurring todos when deleting project or context. Fixes #880. Fixes #895 2010-04-04 18:20:07 +02:00
Eric Allen
c79d1c964a Autocomplete lists should be based on "q" parameter
If you don't filter server-side, the user sees the full list until
another character is entered.
2010-04-02 13:36:59 -04:00
Eric Allen
9ab69adb38 Dynamically load autocompletes
This cuts something like 100ms off of page load times!

Closes #1011
2010-04-02 13:24:21 -04:00
Eric Allen
8de74939ea Kill HTML tags in todo notes
We still want to preserve quotes for textile, but tags of any sort
shouldn't be able to mess up the output.

Fixes #765
2010-04-02 12:53:29 -04:00
Eric Allen
d682d30e6d No reason to sanitize if we're already h()'ing
Fixes #824
2010-04-02 09:46:20 -04:00
Eric Allen
205c4e7ed4 Much smarter project note truncation
Fixes #780
2010-04-02 09:46:19 -04:00
Reinier Balt
3146fa6bd1 refactor dependency cucumber feature to use css. This saves us the extra id on the todo element that I added in the previous commit. 2010-03-25 16:34:01 +01:00
Eric Allen
4f66e463bd Move integrations JS into application.js
Closes #1016
2010-03-25 07:53:34 -04:00
Eric Allen
3c82b88720 Replace conditional with rescue's
Closes #1015, although this should really be taken care of by
finishing #1011.
2010-03-25 07:53:34 -04:00
Eric Allen
d8c477eb54 Clean up stale JS
Closes #1014
2010-03-25 07:53:33 -04:00
Reinier Balt
8dbf790810 fix cucumber story for drag and drop for dependencies. Was broken since last change of drop target to a hidden img that appears when dragging starts
not a trivial one to fix :-)
2010-03-24 17:58:15 +01:00
Eric Allen
35e15d6608 Get rid of in_place_editing plugin
Using jQuery jeditable plugin
2010-03-14 16:50:24 -04:00
Eric Allen
8b642e6b91 Get rid of auto_complete plugin
Using jQuery autocompletion now
2010-03-14 16:48:28 -04:00
Eric Allen
25f0f3dfd9 JavaScript working for subdir 2010-03-14 16:39:11 -04:00
Eric Allen
a0d12c95e9 No more bundle-fu
Using Rails 2's built-in bundling instead

I believe this closes #978
2010-03-14 16:18:13 -04:00
Eric Allen
a2f8327da4 Correct walking of entire predecessor tree
Fixes #972
2010-03-14 12:29:43 -04:00
Eric Allen
2b7d5e7a89 Re-enable rich interaction on todo edit
Fixes #1008, Fixes #1007
2010-03-14 12:23:28 -04:00
tim madden
fe978e350e Made some format edits the mobile edit screen. First, I put a size in for the description textfield. As it was, the field caused my blackberry view of the form to be tiny. putting a size in makes this field similar to the rest. Also, I expanded the notes textarea to 40 columns by 3 rows and made the tags textfield size 50 like the description 2010-03-09 12:37:52 -05:00
Eric Allen
42c4c199a9 Move edit button out of dropdown menu
Closes #976
2010-03-07 16:54:17 -05:00
Eric Allen
ec68e04f27 Move dependency drop target into image
In preparation for #937 and other potential uses of drag&drop
2010-03-07 16:21:52 -05:00
Eric Allen
9591d29e73 Fix refreshing of grandparent dependencies
Closes #972
2010-03-06 18:43:59 -05:00
Eric Allen
0778284afe Cleaner form clearing for new recurring todos
Just replace the entire HTML to make sure it works right

Fixes #1003, Fixes #1004
2010-03-06 15:42:20 -05:00
Eric Allen
3f14a7a8bb Respect user's week start preference
Fixes #1005
2010-03-04 16:42:23 -05:00
Reinier Balt
c0db9b41b9 add scenario to show bug #972
took me a while to figure out that drag_and_drop does not wait for ajax to finish
2010-03-02 11:14:45 +01:00
Reinier Balt
32d18857df fix a typo. Thanks tknoeller. Fixes #1000 2010-02-22 10:44:10 +01:00
Eric Allen
f602ffc1a4 Icon for prommote to project button
Had to change the text to fit. I like this better, anyway.

Closes #64 (open a new ticket for changes)
2010-02-21 13:12:12 -05:00
Eric Allen
ae9e13bec0 Somehow I forgot this little piece of jQuery
Fixes #989
2010-02-21 13:05:55 -05:00
Eric Allen
cb612feb5e Fix regression in context listing that broke edit
Not sure how I missed this...Thanks Reinier for finding it!

Closes #996
2010-02-21 12:49:30 -05:00
Reinier Balt
c433661048 the project description could now contain markup, like notes
also configure database_cleaner for selenium features
2010-02-12 12:35:19 +01:00
Reinier Balt
25204f5efa migrate deleting from selenium to cucumber
please note there is still a bug in context_steps for editing the name of a context from the context page. But I want to get these change in for a bug report
2010-02-09 23:26:38 +01:00
Reinier Balt
8d10deac30 Merge branch 'master' of github.com:bsag/tracks 2010-02-06 22:37:03 +01:00
Reinier Balt
e1c693dfdc get all selenium features to run and fix the badge update for notes 2010-02-06 22:36:13 +01:00
Reinier Balt
dc811c8fc7 Convert to project did not use current_user so new projects were always linked to the user with id 1. 2010-02-05 09:51:50 +01:00
Reinier Balt
c9566047fc change notes controller to enable adding notes through REST api.
see http://www.getontracks.org/forums/viewthread/530/
2010-02-03 17:33:50 +01:00
Reinier Balt
8f349d3b6b set configurations for using cucumber and selenium
if you want to run it, update your database.yml to include cucumber and selenium environments (like in the .tmpl) and run

RAILS_ENV=selenium cucumber -p selenium
2010-02-02 22:52:32 +01:00
Eric Allen
502e60c9a1 Oops..Forgot to revert this little bit of i18n
Fixes #991
2010-01-26 15:50:21 -05:00
Reinier Balt
c3e731e0a3 fix sort order for text feeds. From discussion at http://www.getontracks.org/forums/viewthread/442/ 2010-01-19 11:03:46 +01:00
Eric Allen
7e7106265c Autofocus on todo description 2010-01-17 18:37:43 -08:00
Eric Allen
deafad16c0 Get rid of weird render params
This line caused the page to not get a layout in Rails 2.3.5

Fixes #988
2010-01-17 11:33:35 -08:00
Eric Allen
66e9c42033 Smart auto-refresh logic
No longer destroys ongoing edits

Fixes #907
2010-01-17 11:07:21 -08:00
Eric Allen
f39108d2e7 Better autocomplete updating from RJS
Fixes #981
2010-01-17 10:49:27 -08:00
Eric Allen
761810cf7f Merge branch 'cas' 2010-01-14 09:46:20 -08:00