Jyri-Petteri Paloposki
3186683cd0
#2203 : Try to use basic password also as a token when accessing a token-enabled endpoint
2019-05-04 23:13:28 +03:00
Jyri-Petteri Paloposki
d3ba80c84e
#2203 : Allow using REST API with token
2019-05-04 20:31:32 +03:00
Matt Rogers
5805c511bb
Convert render :text to render :body
...
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 13:03:35 -05:00
Matt Rogers
60ae4f6f5f
Convert before_filter to before_action
...
`before_filter` has been removed in future versions of rails.
Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-09-22 12:55:27 -05:00
Matt Rogers
d9b78c4e1f
Simplify the return values when using basic auth
...
Returning a hash with explicit keys isn't strictly necessary with the
access methods we're using to get the values for those keys out of the
hash. Return an empty hash instead, simplifying the code.
Also remove the early return statements within the conditional. Those
are also unneeded since this is the last expression that's run in the
method.
2015-11-02 22:05:29 -06:00
Reinier Balt
5092b388fe
Fasterer: Parallel assignment is slower
...
Parallel assignment is slower than sequential assignment.
Only got the low hanging fruit. There are some functions that
have multiple return values. Fixing this needs more refactoring.
2015-08-19 15:12:52 +02:00
Mindaugas Mozūras
962b4fa5c9
Use respond_to { |format| format.any } to reduce duplication
2013-09-13 14:58:28 +03:00
Reinier Balt
ef91dd0c64
another set of dynamic finder migrations. All non-cucumber tests pass
2013-02-27 11:50:49 +01:00
Reinier Balt
1cdf6c8b8e
fix #1325 by applying the patch of Dan Rice. Thanks Dan!
...
Also add a test to catch regessions
2012-08-25 17:18:22 +02:00
Reinier Balt
76340b780c
Getting functional tests running.
2012-04-30 13:56:38 +02:00
Reinier Balt
86afd42148
Work in progress: has_many_polymorphs does not work with rails 3.2 because of intrusive changes in rails internals. I think we need to rip out this dependency...
2012-04-30 13:56:34 +02:00
Demian Gemperli
fafbdae079
Logut user after password change, Closes #1047
2011-10-24 21:47:15 +02:00
Reinier Balt
35fe362b93
fix #857 and further refactoring for better done view
2011-07-09 17:21:34 +02:00
Reinier Balt
a832417c59
migrate toggle_check and destroy and defer and get the functional tests running again
2011-02-03 18:19:17 +01:00
Reinier Balt
f923a40a40
get tag view working for updating todos. Refactored update a lot
2011-02-03 18:18:41 +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
db5fca6b49
change header for basic authentication using the patch by zcrar70. Fixes #1021
2010-04-19 17:11:31 +02:00
Eric Allen
2ee84b8162
Move site-specific configuration out of environment.rb into a YAML file. This allows us to ship environment.rb with Tracks. Fixes #813 .
2009-02-01 14:47:05 -05:00
Reinier Balt
2a6b8f1cd9
fixes #753 by adding a global option to enable secure cookies
...
you need to recreate your environment.rb from the tmpl for this change
2008-08-18 14:11:27 +02:00
bsag
4cbf5a34d3
Removed superfluous 'tracks' directory at the root of the repository.
...
Testing commits to github.
2008-05-20 21:28:26 +01:00