5
3
mirror of https://github.com/tildeverse/lobsters synced 2024-06-14 04:56:39 +00:00
Commit Graph

118 Commits

Author SHA1 Message Date
Peter Bhat Harkins
19a6e330d1 move replies filters to url path; remove 1 + n on unread tracking 2018-01-31 08:21:11 -06:00
Hunter Madison
dd42cca880 Show story and comment replies, tracking unread ones 2018-01-31 07:43:07 -06:00
avinassh
4603caed39 Make SMTP settings configurable from the env 2018-01-30 08:23:51 -06:00
Joe Rafaniello
14a8b03f86 Workaround Ruby memory leak with pathnames in load path
Workaround a small Ruby 2.3/2.4 bug.

https://bugs.ruby-lang.org/issues/14372
2018-01-30 08:04:44 -06:00
Peter Bhat Harkins
fff69be70c remove login.json endpoint (was for bbs code)
closes #421
2017-11-27 10:57:23 -05:00
Peter Bhat Harkins
83b0cced0a remove dead Countinual code 2017-11-27 10:16:18 -05:00
Peter Bhat Harkins
b56fd64ec0 Revert "was overwritten in prod, but should not be checked in"
This reverts commit d4caa1bb25.
2017-10-15 15:49:17 -04:00
Peter Bhat Harkins
d4caa1bb25 was overwritten in prod, but should not be checked in 2017-10-15 14:37:53 -04:00
joshua stein
439ea35439 implement Rails.application.read_only? for maintenance mode 2017-10-15 11:28:00 -05:00
joshua stein
f1ad892246 add /messages.json and /messages/sent.json interfaces 2017-10-10 16:28:05 -05:00
Andrew Shu
dc2c52e668 story: check for duplicate URL on blur 2017-10-05 18:55:33 -07:00
Hunter Madison
c062045e25 Remove RSpec config from test environment 2017-10-05 17:57:38 -04:00
joshua stein
d42685f4e2 avatars: add manual expiry function to settings page 2017-09-08 10:31:55 -05:00
joshua stein
2b02e718a5 avatar caching 2017-07-20 10:44:46 -05:00
joshua stein
0ad6dffbe7 add story saving 2017-07-13 15:38:33 -05:00
joshua stein
b51fb156be routes: add a /moderators shortcut to the user tree 2017-06-18 11:37:56 -05:00
joshua stein
a1a9b0d288 routes: bbs stuff doesn't need to be here anymore 2017-06-18 11:37:56 -05:00
joshua stein
632b2b5863 config: fix loading of extras/ in rails 5
rails 5 no longer autoloads things after it starts up, so when
things like Markdowner are requested, they aren't automatically
loaded from extras/markdowner.rb

just eager-load everything in extras/ at startup

http://blog.bigbinary.com/2016/08/29/rails-5-disables-autoloading-after-booting-the-app-in-production.html
2017-06-18 11:20:32 -05:00
Adam Hess
28c8217652 Upgrade rails 5 1 (#367)
* Upgrade to rails 5.1

- Update versions of dependencies
- Switch before_filter to before_action
- Use render plain rather than render text

* Generate new rails 5.1 scripts
2017-06-18 11:04:32 -05:00
joshua stein
2eda392ad2 config: adjust logs to have uuid prepended, remove timestamp
before:
I, [2017-06-07T10:42:23.504812 #59900]  INFO -- : Completed 200 OK in 99ms (Views: 85.3ms | ActiveRecord: 2.1ms)

after:
[0b70d2e0-e144-4e96-a771-94b8cd1b5918] Completed 200 OK in 2104ms (Views: 21.1ms | ActiveRecord: 8.3ms)
2017-06-07 15:51:42 -05:00
joshua stein
71b1828530 comments: simplify highlighting, use css selector 2017-04-26 12:49:54 -05:00
joshua stein
6a66dcca2d add a dynamic 404 page 2017-04-17 12:19:41 -05:00
joshua stein
8b446fadae add twitter oauth linking 2017-04-13 15:32:32 -05:00
joshua stein
fcb2443938 settings: add github integration, move pushover to external accounts 2017-03-24 16:31:25 -05:00
joshua stein
0df724fdb8 disable some excessive logging in production
namely "Rendered ..." lines, which are quite numerous on pages with
lots of comments
2017-03-24 16:20:16 -05:00
joshua stein
b082fb91f0 add a /login.json endpoint, just returns success or failure for now 2017-03-19 16:50:02 -05:00
joshua stein
3c908f7487 update to rails 4.2.8 2017-03-18 21:20:40 -05:00
joshua stein
dbd84f1e03 add TOTP-based two-factor authentication option 2017-02-24 12:58:42 -06:00
joshua stein
08daf1af0a revert localization changes
This is nowhere near completed, it's only in one other language, and
it makes it harder for me to change things.
2017-02-24 10:25:42 -06:00
joshua stein
56d3749341 here be dragons 2017-01-19 13:51:43 -06:00
joshua stein
fccbb74649 layout: link to hats (for all) when no hat requests present 2016-11-29 09:49:54 -06: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