Commit graph

4262 commits

Author SHA1 Message Date
Reinier Balt
cfc6d117b8 fix #1027. Several tests were broken because of the more strict validations on the recurring_todo model 2010-05-13 18:24:26 +02:00
Eric Allen
92bb54bbf5 Revert "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"
This reverts commit 8dbf790810.

Conflicts:

	app/helpers/todos_helper.rb
	features/step_definitions/todo_steps.rb
2010-05-09 18:59:02 -04:00
Eric Allen
86d7724b75 Revert "Move dependency drop target into image"
We decided that the small drop target was harder to hit, and the
justifcation for the change wasn't worth it.

This reverts commit ec68e04f27.

Conflicts:

	app/helpers/todos_helper.rb
	public/javascripts/application.js
	public/stylesheets/standard.css
2010-05-09 18:57:56 -04:00
Eric Allen
fa98c0865e Override AASM's initial state if specified
Fixes #977
2010-05-08 19:30:58 -04:00
Reinier Balt
d6e20a76c2 migrate selenium script for integrations page and enhance the story 2010-05-05 19:09:51 +02:00
Reinier Balt
44c61d942a make sure login works for non-selenium cucumber
regression since my last commit
2010-05-05 19:08:41 +02:00
Reinier Balt
0a95d430d4 Merge branch 'vacation-work' 2010-05-05 15:27:39 +02:00
Reinier Balt
a26142e336 Merge branch 'selenium-migrations' into vacation-work 2010-05-05 15:27:19 +02:00
Reinier Balt
eef1b6b7a9 remove selenium scripts that were already converted to cucumber 2010-05-05 13:19:26 +02:00
Reinier Balt
a0b642dab3 remove commented lines from last commit 2010-05-05 13:16:54 +02:00
Reinier Balt
f53b386bd1 remove anoying message about login text not found when running cucumber/selenium 2010-05-05 13:15:00 +02:00
Reinier Balt
73631e6083 Merge branch 'selenium-migrations' into vacation-work 2010-05-05 13:02:27 +02:00
Reinier Balt
e1b52aeb13 replace selenium script with cucumber story for switching recurrence option 2010-05-05 13:00:44 +02:00
Reinier Balt
0d7980e87b migrate selenium for users to cucumber 2010-05-03 21:26:48 +02:00
Reinier Balt
dc0dab9863 Merge branch '997-stats' into vacation-work 2010-05-02 18:34:10 +02:00
Reinier Balt
68d1c05d83 Merge branch '987-integrations' into vacation-work 2010-05-02 18:34:02 +02:00
Reinier Balt
c89b234376 Merge branch '936-index-state' into vacation-work 2010-05-02 18:33:48 +02:00
Reinier Balt
0198a2fa13 fix #936 by adding index on state for todos. Needs migration of database. 2010-05-02 18:25:25 +02:00
Reinier Balt
5c25e4569e fix #1002. every nth week was off by one week for recurring weekly todos. Thanks Thomas for spotting this.
Updated the wrong test too.
2010-05-02 18:16:29 +02:00
Reinier Balt
8bc3a484b2 fix 1018. Added validations for the recurring target of recurring todos 2010-05-02 16:41:45 +02:00
Reinier Balt
fabc15e061 fix #987 where feeds_path returned the mobile url and not the non-mobile one. 2010-05-01 17:32:55 +02:00
Reinier Balt
9d5503a91e fix #997. The chart with the visible actions now excludes pending actions. Also some cleanupt to use named_scope 2010-05-01 17:19:28 +02:00
Eric Allen
0c161be466 Fix recurring todo autocompleteion
* Enable rich interaction on edit (to trigger autocompleter)
* Don't try to reset autocomplete lists, since they come from the server now

Fixes #1022
2010-04-27 11:17:04 -04:00
Eric Allen
23977f3f0e Don't include completed projects in autocomplete
Closes #1026
2010-04-27 11:07:28 -04:00
Eric Allen
e1a92ced7c Don't substitute lt and gt symbols
Closes #824 (hopefully once and for all?)
2010-04-27 11:03:50 -04:00
Eric Allen
f782e0f4d4 Activate deferred todos before initting @todos 2010-04-27 10:18:07 -04:00
Hans de Graaff
b331985e62 Merge branch 'master' of git://github.com/bsag/tracks into bsag 2010-04-24 08:40:28 +02:00
Reinier Balt
06ac3067d3 fix validations for daily pattern and fix disappearing target fields for recurring todos 2010-04-23 17:13:03 +02:00
Reinier Balt
38f0cf1b7a adds extensive validation to recurring todos. Fixes #967 2010-04-23 16:51:35 +02:00
Reinier Balt
db5fca6b49 change header for basic authentication using the patch by zcrar70. Fixes #1021 2010-04-19 17:11:31 +02:00
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
05cbea50aa Using Rails.env is not the right approach here
All Cucumber stories now passing
2010-04-10 15:31:28 -04:00
Eric Allen
1e4d250a15 Remove debugging print statements 2010-04-10 15:23:38 -04:00
Eric Allen
10fecaca38 Fix failing note deletion tests
Text will remain present because the raw source isn't generated from the
modified DOM.

Also, there were some hard-coded id's in there that have changed.

All Cucumber Selenium tests are now passing.
2010-04-10 15:23:27 -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
Eric Allen
fdba48c769 AJAX loading of context names
To make askIfNewContextProvided work again, allowing people to add actions again
2010-04-04 22:30:29 -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
Hans de Graaff
deacdbda29 Merge branch 'master' of git://github.com/bsag/tracks into bsag
Conflicts:
	app/views/todos/_todo.html.erb
2010-04-03 14:22:39 +02:00
Eric Allen
f67dd416d1 Longer timeout for hover in superfish
Fixes #898 by keeping the popup there for 400ms before hiding it

Thanks, Orlando!
2010-04-02 20:21:57 -04: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
9ccd6d11d8 Don't use project default context when in context view
Closes #934
2010-04-02 13:30:10 -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
e4394761c5 Blank DB with pre-defined contexts for easier start
Fixes #968
2010-04-02 09:46:20 -04:00