Reinier Balt
f90d0d8eb9
fix rspec version because spec-rails now depends on rails3
2011-02-03 18:18:35 +01:00
Reinier Balt
cafa774b4c
refactor application.rb further and migrate recurring todos
...
next: get tests for recurring todos
2011-02-03 18:17:29 +01:00
Reinier Balt
2fa431ef54
finish migration of the feeds page
2011-02-03 18:17:27 +01:00
Reinier Balt
879fbc99e2
major restructuring/refactoring of application.js. finally scratched that itch. Some tests are failing to be fixed later.
2011-02-03 18:17:24 +01:00
Reinier Balt
145c9105dd
migrate deleting a note from notes page to jqeury
2011-02-03 18:17:18 +01:00
Reinier Balt
0f525436ff
support rake cucumber:selenium_wip to run wip for selenium. rake cucumber:wip will only ron non-selnium wip stories. Furthermore some selenium script migration to cucumber
2011-02-03 18:17:10 +01:00
Reinier Balt
15fdb1e572
migrate creating a new context and refactor some project js to share with context js
2011-02-03 18:17:05 +01:00
Marcus Ilgner
330d6e008c
Corrected reference to factory_girl gem
2011-01-30 05:43:50 +08:00
Marcus Ilgner
eb22178b67
Merge branch 'master' of git://github.com/bsag/tracks
...
Conflicts:
config/locales/de.yml
config/locales/en.yml
2011-01-17 16:36:46 +01:00
Ulf Klose
d695635342
small correction in English language file
2011-01-17 03:30:32 +08:00
Ulf Klose
21e6619761
added German language file de.yml
2011-01-17 03:30:32 +08:00
Marcus Ilgner
a7998ba40a
Fixes for failed tests
2011-01-16 18:26:00 +01:00
Marcus Ilgner
338d4bb5a6
Added locale selection to preferences
...
Mostly completed transition to full i18n
Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
2011-01-16 18:14:07 +01:00
Reinier Balt
5dde6403ea
add comment in database template on how to configure rails to use your utf8 database.
...
If you experience ? where you expect é, uncomment this setting in your database.yml
2011-01-11 05:53:15 +01:00
Reinier Balt
d57bd479f9
fix failing test for some error messages
2010-11-09 15:51:21 +01:00
Reinier Balt
6b36d6eb8f
fix failing tests
2010-11-09 10:47:09 +01:00
Marcus Ilgner
fd3f69d927
Changed code to support basic i18n.
...
Added RubyMine configuration and rvm setup to .gitignore.
2010-11-09 16:31:26 +08:00
Reinier Balt
04faa5d408
correct deleting a line which should be there
2010-11-08 17:29:57 +01:00
Reinier Balt
83a7e38155
add dependency for selenium-client and mongrel for selenium tests
...
Signed-off-by: Reinier Balt <lrbalt@gmail.com>
2010-11-08 17:26:30 +01:00
Reinier Balt
110d3daf95
Fix #969 by implementing a new mobile view for notes.
...
Did not create tests for it
2010-08-03 22:27:54 +02:00
Reinier Balt
29e007f9c6
update routing and test for authorized access to all tracks pages
2010-07-30 21:06:12 +02:00
Reinier Balt
e2841e31eb
finish upgrade of selenium
...
these were manual cherry-picks of the rails upgrade work.
2010-07-27 23:32:22 +02:00
Reinier Balt
551eab19a5
regenerate cucumber setup
2010-07-27 23:05:23 +02:00
Reinier Balt
111f6059f4
update environment.rb to avoid deprecation warning about session_key
2010-07-27 23:02:40 +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
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
9ab69adb38
Dynamically load autocompletes
...
This cuts something like 100ms off of page load times!
Closes #1011
2010-04-02 13:24:21 -04: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
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
761810cf7f
Merge branch 'cas'
2010-01-14 09:46:20 -08:00
Reinier Balt
1fab30ff22
create cucumber profile for stories requiring selenium and stories not requiring selenium (=default)
2010-01-13 21:41:21 +01:00
Reinier Balt
4620349db1
update cucumber
2010-01-13 20:39:28 +01:00
Eric Allen
b87f4cc12e
Revert i18n changes
...
We haven't merged that branch yet to trunk
2010-01-12 17:49:39 -08:00
Eric Allen
f33b747422
Use correct idiom for undefind module
2010-01-12 17:30:51 -08:00
Erik Ordway
901af95c69
clean up debug code and get new user correct
2010-01-12 17:18:01 -08:00
Erik Ordway
5b431ef50a
This allows CAS to work side by side with other Auth methods.
...
This is at least one issue with this
to logout of CAS you need session information but the logout method blows this away so I do the cas log out before the session is killed so the session persistest in rails. Because I needed to move the CAS before filters into login_cas and out of the application to make it work side by side. The user will still be logined into tracks even though their CAS session is closed as the session will still be there.
def logout
@user.forget_me if logged_in?
cookies.delete :auth_token
session['user_id'] = nil
if ( SITE_CONFIG['authentication_schemes'].include? 'cas') && session[:cas_user]
CASClient::Frameworks::Rails::Filter.logout(self)
else
reset_session
notify :notice, "You have been logged out of Tracks."
redirect_to_login
end
end
The other issue I have with this is that:
I could not find a use case for having mixed auth when using CAS. The reason to move to CAS is that all your users use CAS all the time. Even for admin accounts. Moodle is a good example of this in that when you activate CAS the default is that you can now only access moodle via CAS. By allowing mixed auth and self signup you end up with a anyone (the public) being able to sign up for accounts.
2010-01-12 17:17:56 -08:00
Patrice Neff
5299490c83
Linkify message:// URLs in notes. Those links are used by Mail.app on
...
Mac OS X to link to a mail message by message id.
2010-01-10 08:34:10 +08:00
Eric Allen
e844b5aa5b
ActionWebService requires soap4r
2010-01-01 22:39:05 -05:00
Eric Allen
50e80d2673
Update RSpec situation. Should fix #960
2010-01-01 22:39:00 -05:00
Eric Allen
e17c1e1644
Make it possible to run rake gems:install for cas
...
The hard requires were causing rake to fail before it could even install
the rubycas-client gem. This kind of sucked.
2009-12-18 09:42:06 -05:00
Erik Ordway
31b173ae5b
Use rubycas-client gem and require if cas is enabled
2009-12-18 09:40:11 -05:00
Erik Ordway
18219d17f1
set CAS values in environment.rb
...
set fake values in site.yml.tmpl
2009-12-18 09:40:11 -05:00
Erik Ordway
f3966cfb2b
make cas work
2009-12-18 09:40:11 -05:00
Eric Allen
d1fc119e2d
We no longer need this fix
...
In fact, it breaks things now
All tests passing.
2009-12-08 12:56:00 -05:00
Eric Allen
6181d42072
A few tweaks to get tests running
2009-12-07 18:29:57 -05:00
Eric Allen
804d59c542
Install ActionWebService ported to Rails 2.3
2009-12-07 18:07:09 -05:00
Eric Allen
3c94609583
Ran rake rails:update
2009-12-07 12:43:42 -05:00
Michaël Witrant
c679593d1e
fixed url parsing when they contain a slash in query string
2009-11-24 19:06:13 +08:00
Eric Allen
47873fb323
Get rid of UJS plugin (finally)!
2009-09-07 16:12:53 -04:00
Eric Allen
35c9f55553
Forgot one bit of prototype stuff to clean up
2009-09-05 15:23:51 -04:00