Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
e076910b74
Prepend protect_from_forgery because this defaults to false now
2017-08-12 15:39:21 +02:00
Benjamin Neff
0e5141dd67
Fix mapbox API URL
...
closes #7066
2016-09-25 02:58:56 +02:00
Steffen van Bergerem
c3de77e0fc
Send notification mails on CSRF fails
...
closes #7050
2016-09-04 03:26:42 +02:00
Steffen van Bergerem
6ad9000f8c
Sign out users with wrong CSRF tokens
...
See http://guides.rubyonrails.org/security.html#cross-site-request-forgery-csrf
2016-09-04 03:26:18 +02:00
Jonne Haß
1df5c7f7bf
Merge branch 'stable' into develop
2015-10-07 10:58:10 +02:00
Faldrian
a946251a9e
Show getting_started only if user has made no profile changes on the page
...
closes #6456
2015-10-07 10:58:06 +02:00
zaziemo
263dc6f119
refactor code that choses the tile server based on podmin's choice
...
and remove the possibility to disable the map feature.
By default the application uses the itles of Heidelberg University that
don't need any credentials. If podmins enable the mapbox option in the
diaspora.yml and enter their credentials the mapbox tiles are used for the map
rendering.
2015-09-09 17:03:46 +02:00
zaziemo
e5cc8dff0e
outsource map credentials
...
and allow podmin to enable and disable the feature
(#5813 )
2015-09-09 12:25:45 +02:00
Jonne Haß
176b32c815
Merge branch 'stable' into develop
2015-09-07 12:41:36 +02:00
zaziemo
c2c6ed5dea
refactor moderator role and add specs
...
#5324
2015-09-07 12:32:09 +02:00
realtin
15b186518c
add moderators to report email recievers
...
and refactor coding style according to pull request comments
(#5324 )
2015-09-07 12:31:25 +02:00
zaziemo
b2dc77e1e6
change method name for a better understanding of what the befor_filter does
...
and correct test syntax
#5324
2015-09-07 12:24:12 +02:00
realtin
bc75371b7a
report controller renders index for the moderator
...
(#5324 )
2015-09-07 12:24:12 +02:00
Jonne Haß
602ad2d209
Merge branch 'stable' into develop
2015-07-28 18:35:18 +02:00
Mikica Ivosevic
c8b01cb62c
application_controller.rb
...
refactor method after_sign_out_path_for
closes #6258
2015-07-28 18:35:13 +02:00
Steffen van Bergerem
049c8eb384
Bootstrap header rewrite
2015-06-20 00:38:40 +02:00
Steffen van Bergerem
399fdb2c7d
Check request.format :mobile in home controller
2015-05-05 01:39:48 +02:00
Steffen van Bergerem
d9bf4a2fa6
Remove layout 'centered_with_header_with_footer'
2015-03-18 21:59:56 +01:00
Steffen van Bergerem
e188782a9a
Remove blueprint code
2015-03-02 00:04:57 +01:00
James Kiesel
e174514d69
Add JSON exporter for user profile download
2014-12-16 08:55:35 +13:00
James Kiesel
2d44107b5d
Allow nil HTTP user agent
2014-10-09 23:08:33 +13:00
Jonne Haß
ef214d7681
bump http_accept_language
2014-08-25 22:06:28 +02:00
Niall Paterson
f33038f105
updated before_filters to before_actions as recommended for rails 4
2014-08-23 16:34:01 +02:00
Steffen van Bergerem
f217a5bc11
Add filters to notifications controller
2014-03-19 17:54:22 +01:00
Fábián Tamás László
aa472b25de
Put preloads into gon.preloads
...
Fixed tagFollowing not getting into preloads
2013-07-06 12:45:23 +02:00
Fábián Tamás László
fb9b3e35c3
Put current user into gon
...
Fixed bug in app.js, removed unnecessray test
2013-07-06 12:44:08 +02:00
Jonne Haß
ffc6c1102e
dry up and modularize layouts
2013-03-06 19:00:34 +01:00
Marcelo Dominguez
88e76448b6
Avoid unnecessarily redirect
2013-03-03 23:10:53 -02:00
Marcelo Dominguez
e2ad0cbb81
Remove whitespaces
2013-03-03 23:10:31 -02:00
Gonzalo
e1756b5b3f
Privatize non-action controller methods
2012-10-14 19:32:53 -02:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
e70e48d6ca
some refactoring regarding the law of demeter
2012-09-23 19:33:19 +02:00
Jonne Haß
ab0ad630df
strip last beta leftovers and fix syntax errors, travis is kinda down, lets hope nothing breaks while I sleep
2012-09-12 05:48:12 +02:00
Florian Staudacher
1809897aa2
should fix the mobile toggle for the case: desktop --to--> mobile #3299
...
also, (possibly) fix tablet issue #3421 , + tests
2012-07-04 01:47:55 +02:00
Florian Staudacher
d3b70a7f3a
small typo [ci skip]
2012-06-18 23:40:18 +02:00
Florian Staudacher
0596f5345d
use default format in case a tablet device is detected
2012-06-18 22:50:15 +02:00
Dennis Collinson
a90968ea2d
basic experimental stream
2012-05-14 17:57:02 -07:00
danielgrippi
01d5c0473a
DG MS; don't redirect to legacy getting started if you're a beta user
2012-05-07 12:05:36 -07:00
danielgrippi
bbd4ee5738
correctly redirect for beta and admin users (profile vs stream homepages)
2012-04-28 15:09:02 -07:00
Maxwell Salzberg
ecc1a84b42
rails_admin; i do what i want
2012-04-13 18:08:52 -07:00
Jonne Haß
3c23364fbc
refactor locale initialization and selection a bit
2012-03-21 19:25:47 +01:00
Maxwell Salzberg
063912287c
use the user presenter, luke
2012-02-16 13:19:14 -08:00
danielgrippi
f3f2b8ca44
change routes to properly reflect page names (activity/stream).
2012-02-14 11:16:41 -08:00
danielgrippi
84eb313e20
updated routes to reflect page titles (explore/participate)
2012-02-08 14:40:28 -08:00
Maxwell Salzberg
c69df0fb29
fix photos controller test
2012-01-27 13:06:27 -08:00
Maxwell Salzberg
e2cb572c15
random cleanup; delete some unused methods, clean up some logic in some
...
controllers; update the default referee to /stream [ci skip]
2012-01-27 02:23:38 -08:00
Jonne Haß
12575bd7f0
update http_accept_language and try to find the preferred locale first, should fix #2715
2012-01-23 14:59:09 +01:00
danielgrippi
778683f3e3
don't extend helpers in the notifications index view; make notification_count and unread_message_count controller helper methods (now that we're not using vanna)
2012-01-22 22:26:27 -08:00
Steven Fuchs
7cbcaafbeb
oops, application_helper gone from application_controller.
2012-01-22 23:28:55 -05:00