Commit graph

109 commits

Author SHA1 Message Date
Carl Chenet dff09bbc12 i18n of controller/search_controller 2016-11-15 17:30:30 +01:00
Carl Chenet a587e2d32c i18n of controllers/comments_controllers 2016-11-15 17:26:01 +01:00
Carl Chenet 516edc5038 i18n of controllers/stories_controllers 2016-11-15 17:11:32 +01:00
Carl Chenet 286f25e712 i18n of controllers/home_controllers 2016-11-15 17:05:42 +01:00
Carl Chenet 22afc46e5e i18n of messages/show 2016-11-15 16:16:22 +01:00
Carl Chenet b38e57ac8c i18n of messages/index 2016-11-15 15:52:45 +01:00
Carl Chenet 9aec18155b i18n of users/{list,show,tree} 2016-11-15 14:40:55 +01:00
Carl Chenet 74052c7637 i18n of login/set_new_password view 2016-11-10 15:29:51 +01:00
Carl Chenet a212829528 i18n of login/forgot_password view 2016-11-10 15:20:07 +01:00
Carl Chenet d6858b320d i18n of login/index view 2016-11-10 15:06:52 +01:00
Carl Chenet 361387b38a fix issue with i18n variables names of 2 chars 2016-11-10 14:28:37 +01:00
Carl Chenet 26d909e58f i18n of stories/edit 2016-11-10 12:10:21 +01:00
Carl Chenet ef03140149 i18n of stories/listdetail view 2016-11-10 11:47:41 +01:00
Carl Chenet 588ab40e7d i18n of comment/_comment view 2016-11-09 17:25:40 +01:00
Carl Chenet 3e3ef423f2 i18n of comments/_commentbox 2016-11-09 16:10:40 +01:00
Carl Chenet 06c58f136b i18n of stories/_form view 2016-11-09 15:50:22 +01:00
Carl Chenet c751792f9f i18n of stories/new view 2016-11-09 11:36:01 +01:00
Carl Chenet b2cbdf4521 i18n of search view 2016-11-09 11:24:21 +01:00
Carl Chenet 5b86bab8ce i18n of home view 2016-11-09 10:35:47 +01:00
Carl Chenet dd255f15be i18n of filters view 2016-11-08 17:46:43 +01:00
Carl Chenet 518ce147da localize settings (controller, view), invitation form and activerecord error message about passwords not matching 2016-07-09 14:29:55 +02:00
Carl Chenet 7e50558d73 localize settings (controller, view) and invitation form 2016-07-09 14:29:04 +02:00
chaica 9506b1ce10 I18n moderations (#301)
* translate moderation view, controller and model

* support for i18n in the moderation controller

* support for i18n in the moderation model - use interpolation for variables inside strings

* support for i18n in controller model - localize time and date string format for printing time and date of the moderation action
2016-07-05 10:02:14 -05:00
joshua stein 4a80080abb unbreak fr locale file 2016-06-18 19:15:15 -05:00
joshua stein b10da3e495 cleanup broken html for new message count, add pluralized version 2016-06-14 11:18:25 -05:00
joshua stein 884208a7b7 fix hat request link from locale fallout 2016-06-10 16:35:24 -05:00
joshua stein 01b5f334ca en: "Recents" back to "Recent" 2016-06-10 16:27:47 -05:00
chaica c962520680 I18n support for layout/application.html view (#294)
* i18n support for layout/application.html view

* i18n english strings for layout/application.html

* i18n french strings for layout/application.html
2016-06-10 17:24:02 -04:00
nyanpasu aa0ffeb37b Allow admin/moderator to disable user from inviting 2016-05-16 02:40:46 +08:00
David R. MacIver 0f38779d7a Add RSS and JSON feeds for newest by user 2016-04-29 17:41:14 +01:00
joshua stein a5928b675d implement hats list and request/approval system
closes #281
2016-04-06 13:19:46 -05:00
joshua stein 09fd14dd93 add a tag cloud thingy
closes #236
2015-11-09 09:52:32 -06:00
joshua stein e940601a2f start on automated story title and tagging suggestions
Rather than keep "poorly titled" and "poorly tagged" as reasons for
flagging, make the user do the work of suggesting new ones.

At some point, suggested taggings will flip to real taggings once
they reach a certain count (to be determined later).  This also has
to take into account tagging sets that don't contain current tags,
for when they need to be removed.

For titles, I'm not yet sure how to handle this in an automated
fashion except for the (probably rare) case of multiple users
submitting the same exact thing, but at least collect them for now.

Issue #207
2015-10-14 20:32:24 -05:00
joshua stein 1c789fbae0 add /chat page 2015-10-11 13:04:16 -05:00
joshua stein 0c4a88e284 export some more things through json 2015-08-04 09:58:47 -05:00
joshua stein cbc1c50cd2 add user banning/unbanning from user view page 2015-07-24 00:51:11 -05:00
joshua stein c2442a5881 add comments rss feed
The RSS view was already here but never setup in a controller.

Closes #202
2015-04-28 09:51:50 -05:00
joshua stein 8f8ad57135 export a json version of user page, include karma and about text 2015-04-09 21:05:50 -05:00
joshua stein 4fcbf8b257 minimal changes to let the bbs hook in if it's present 2015-04-03 13:53:31 -05:00
joshua stein 18e027feb9 add a short id redirector for comments 2015-04-01 01:02:22 -05:00
joshua stein 6695480fdb when auto-detecting story titles, try to find a canonical url and use it
should remedy duplicate stories being submitted under all of their
stupid blogspot.* domains instead of the canonical url represented
in the <link> tag
2015-03-10 17:41:40 -05:00
joshua stein c2e7376a7b add a shortcut to /search/something to search for that 2015-02-23 16:55:45 -06:00
joshua stein 31df8973a8 Pushover: switch to subscriptions
users.pushover_device and users.pushover_sound columns can be
dropped once migrated
2015-01-15 13:23:31 -06:00
joshua stein 9f5e04bbba use _path for most things instead of _url
Instead of hard-coding the scheme and host everywhere, use _path
methods to show relative URLs.

Except that our previous setting of
Rails.application.routes.default_url_options in
config.after_initialize made this moot because Rails inserts that
host into all _path helpers for some reason.  So revert that
setting.

But then anything that wants an absolute URL doesn't know the
hostname and the root_url helper throws an exception.  So make a
Rails.application.root_url shortcut to pass the per-app settings in
Rails.application to root_url.

Now we can just use _path helpers most places but still use _url
ones where we need them, such as in RSS views and e-mail templates.
2015-01-02 17:02:55 -06:00
Serge Paquet aa326da6d8 remove deprecated configuration for implicit join references 2014-12-14 00:09:15 -05:00
Serge Paquet b7b93d0bf9 update to rails 4.1.8 2014-12-13 23:47:44 -05:00
joshua stein b0b9654a29 use https for the root route according to config.force_ssl 2014-10-18 22:26:56 -05:00
joshua stein 8b3e62d010 move setting of default route host to Rails.application.domain to after initialization
fixes #177
2014-10-03 18:59:06 -05:00
joshua stein 98cd470c74 set the default site domain and name to examples, like in the README 2014-10-03 17:19:27 -05:00
joshua stein 5497fbd7bb allow disabling public invitation requests through a setting 2014-10-03 17:19:00 -05:00