Sam Saffron
e3747f654b
SECURITY: hoist blocks using guids, not md5 hashes
2016-02-06 01:02:48 +11:00
Sam
0032047804
missing a bracket
2016-02-05 15:01:12 +11:00
Sam
886273f158
FIX: when CDN assets are not in root path source maps fail
2016-02-05 13:05:47 +11:00
Sam
0ef141b2c3
FIX: skip jwt encoding for auth
2016-02-05 08:48:16 +11:00
Sam Saffron
209b022385
PERF: cut down on memory usage allowed to redis
...
This limits the amount of backlog message bus channels can have.
2016-02-04 13:58:38 +11:00
Sam Saffron
3f67f91d27
need to allow for now scope
2016-02-04 00:19:08 +11:00
Sam Saffron
60ba9dcc5e
PERF: fix N+1 on categories page
2016-02-03 23:59:15 +11:00
Sam Saffron
e9c1f8171c
more protection
2016-02-03 19:21:49 +11:00
Sam Saffron
835bedca67
add some protection so it works if currentUser is missing somehow
2016-02-03 19:04:23 +11:00
Sam Saffron
bc75010b20
FEATURE: suggested messages for messages
...
FEATURE: clicking envelope takes you to inbox
Suggested messages works somewhat like suggested topics.
- New show up first (in either group inbox or inbox)
- Then unread (in either group inbox or inbox)
- Finally "related" which are messages with same participants as the current pm.
2016-02-03 18:50:05 +11:00
Sam Saffron
904e532439
SECURITY: topic titles can show up in user page unescaped when streamed in
2016-02-01 20:53:55 +11:00
Sam Saffron
4099823efe
FIX: batch badge assigner was not including full info in notification
...
(missing drilldown link in notification)
2016-02-01 18:27:07 +11:00
Sam Saffron
01e0321f44
UX: match mention styling with username styling on top of post
2016-01-31 10:39:05 +11:00
Sam Saffron
6a13cc1c22
UX: tweak mention color to match username color in post header.
2016-01-31 10:02:21 +11:00
Sam Saffron
1d27b33100
FIX: DistributedCache would fail serialization in some cases
2016-01-30 09:01:15 +11:00
Sam Saffron
b25e505fb7
SECURITY: user summary could show topic links you have no permissions to
2016-01-28 11:12:12 +11:00
Sam
5ed21e8767
filter out archived correctly
2016-01-28 00:14:26 +11:00
Sam
b75353c26f
correct specs
2016-01-27 23:40:45 +11:00
Sam
7b558f959e
correct tracking logic
2016-01-27 23:20:29 +11:00
Sam
50a63a491c
don't alert for inbox count of 0
2016-01-27 23:13:37 +11:00
Sam Saffron
bf650de7be
FEATURE: change group default tracking level to tracking (database changes)
2016-01-27 21:56:25 +11:00
Sam Saffron
8aea75edec
improve copy
2016-01-27 21:51:12 +11:00
Sam Saffron
a764cc3a42
FEATURE: by default users track a group (as opposed to watch)
...
FEATURE: a rollup counting number of messages in the group inbox to tracking users
2016-01-27 21:38:33 +11:00
Sam
1bb485fca5
FIX: when a user got multiple replies to a topic, emails were missing
2016-01-27 12:20:08 +11:00
Sam
ee823305a1
FIX: Allow for large free disk space
...
reported via @envygeeks shift multiplication of free space out of awk and into rube
awk on some systems appears to be converting stuff to floats.
2016-01-25 13:22:36 +11:00
Sam
7138b74110
Revert "FIX: disk_space should be a BigDecimal to handle large disk ( closes #3923 )"
...
This reverts commit 260d023b65 .
2016-01-25 13:03:43 +11:00
Sam
b3855d94f4
Merge pull request #3972 from tgxworld/remove_arel_patch_merged_upstream
...
Remove Arel patch that has been merged upstream.
2016-01-25 09:27:57 +11:00
Sam
403f766546
UX: improve styling of messages and mobile view of messages
2016-01-24 18:11:49 +11:00
Sam
d0ee32f3ce
FIX: correct counts on user summary
2016-01-24 16:39:01 +11:00
Sam
4b8e12d138
FIX: link to filtered down list of badges from summary
...
FEATURE: pick featured badges in summary page
2016-01-24 15:51:30 +11:00
Sam
9569235d76
correct path
2016-01-22 07:55:07 +11:00
Sam
7c5a448f63
PERF: remove 10-20ms of work from every page view
...
<% s=Time.now;
main_app.categories_path
main_app.guidelines_path
main_app.tos_path
main_app.privacy_path
p (Time.now-s)*1000%>
Returns 10-20ms consistently on i7-4770k, on shared hosts the cost
could easily reach 40ms
This code simply calculates the strings
/categories
/guidelines
/tos
/privacy
It is ludicrous to spend this enormous amount of work just to calculate
4 strings.
I do not know if this is something specific about Discourse or a bug in
Rails (I tried without the main_app prefix and got similar results),
regardless we can got to avoid these _path APIs for now
Discovered this when running a flamegraph on our home page.
2016-01-21 22:43:56 +11:00
Sam Saffron
7303f8f309
FEATURE: first pass at user summary page
2016-01-20 15:14:25 +11:00
Sam
d18085c57d
Merge pull request #3962 from scossar/category-dropdown-badge-wrapper-width
...
FIX: category-dropdown-menu badge-wrapper width
2016-01-19 19:54:43 +11:00
Sam
f5e84d1656
Remove SSH refs
2016-01-19 19:42:27 +11:00
Sam
665fc44741
FIX: message_archived? not set correctly for groups
2016-01-19 18:35:46 +11:00
Sam
8d392066d8
oops (tests were running in other window but was trigger happy)
2016-01-19 18:22:59 +11:00
Sam
dec40ea3cf
FIX: raise proper error if system message creation fails
...
FIX: skip validations when creating system messages
2016-01-19 18:19:35 +11:00
Sam
e6c1f1db52
FEATURE: link to filtered badge list from notification
...
When notified on a badge link to the badge page filtered on username
2016-01-18 18:20:16 +11:00
Sam
ca3e2b4da3
FEATURE: you can not drill down and see why you have badges
...
Clicking on badges filters down the list to a particular user.
2016-01-18 17:59:20 +11:00
Sam
1a27d887fa
FIX: if topic did not save do not attempt to skip inbox
2016-01-14 10:38:20 +11:00
Sam Saffron
f5c2ce8141
FIX: download my post button was broken
2016-01-13 14:37:58 +11:00
Sam
65e808b26d
FEATURE: go to inbox after archiving a message
2016-01-12 15:49:05 +11:00
Sam
06b5798fb9
fix activity pending route, hidden for now
2016-01-12 15:48:44 +11:00
Sam
6394521baa
remove explicit user permissions from messages where group already has access
2016-01-12 14:15:39 +11:00
Sam
1c65fbc9b5
UX: remove glyphs from user page for now
2016-01-12 14:14:52 +11:00
Sam
e1050d0273
UX: fix styling on group page
2016-01-12 14:14:38 +11:00
Sam
4ec409f705
FEATURE: don't add admins to topic allowed users if already in group
2016-01-12 13:57:45 +11:00
Sam
a2b72cc767
correct specs
2016-01-12 13:56:58 +11:00
Sam Saffron
38c63c2185
update google oauth
...
early versions are not working with omniauth so we are stuck with this and addressable
2016-01-11 23:48:31 +11:00
Sam Saffron
da25502bed
downgrade google omniauth
2016-01-11 23:29:01 +11:00
Sam Saffron
abd460bb9b
UX: move message button to top, hide from non-self
2016-01-11 22:44:45 +11:00
Sam Saffron
7350b6c6e6
UX: improve user page styling
2016-01-11 22:44:45 +11:00
Sam Saffron
61650edfd4
big gem update
2016-01-11 18:17:13 +11:00
Sam Saffron
341714e270
various gem updates
2016-01-11 17:35:09 +11:00
Sam Saffron
c2e45c8377
Update annotate and annotate models
2016-01-11 17:30:56 +11:00
Sam
6fabb341f1
FEATURE: automatically archive welcome messages for site_contact_user
...
This de-clutters the sent messages box for site_contact_user, making it again usable
2016-01-10 16:46:11 +11:00
Sam
956e3ad208
FIX: correct user_history that was off by one
2016-01-08 16:52:46 +11:00
Sam
3b45cd0fcb
FIX: missing suspension reasons (and many other messages)
2016-01-08 14:57:05 +11:00
Sam
e451d47e84
Revert "PERF: send Content-Length from Rails on all requests"
...
This reverts commit ea0e238ae1 .
Does not seem needed reverting
2016-01-08 11:36:32 +11:00
Sam Saffron
ea0e238ae1
PERF: send Content-Length from Rails on all requests
2016-01-07 21:15:55 +11:00
Sam Saffron
57944a0694
PERF: only subscribe to a topic once for polls
...
in the past as views were created and destroyed poll subscriptions would change
this caused a lot of load on messaging bus and uneeded traffic
2016-01-06 20:36:09 +11:00
Sam Saffron
bfcb0a52bb
correct previous commit
2016-01-06 20:36:09 +11:00
Sam Saffron
9f4efed03a
PERF: don't publish notification state unless it changed
2016-01-06 20:36:09 +11:00
Sam
eaab27325d
upgrade message_bus, had stray console.log :(
2016-01-06 20:20:23 +11:00
Sam Saffron
93855db158
FEATURE: upgrade message_bus
...
New version has support for chunked encoding, this cuts down
significantly on network usage when lots of messages are sent
We no longer have to re-establish a connection after we get a message,
we simply reuse.
2016-01-05 21:39:25 +11:00
Sam
268e0f3b2b
remove http 1.1 in case it has side effects
2016-01-05 07:54:12 +11:00
Sam
b8471177dc
clean up config file
2016-01-04 16:13:44 +11:00
Sam Saffron
0e2ded278d
Don't buffer message bus, this allows us to stream
2016-01-04 09:56:30 +11:00
Sam Saffron
ab5cd3ad3b
allow http 1.1 via proxy
2016-01-04 09:52:11 +11:00
Sam Saffron
a22abda594
Use 4.0 api for job fakes (as opposed to master)
2016-01-01 15:48:49 +11:00
Sam Saffron
426299d261
FEATURE: upgrade to Sidekiq 4
2016-01-01 15:40:31 +11:00
Sam
af91d6f35b
Revert "FEATURE: upgrade sidekiq to version 4.0"
...
This reverts commit af93a1d94c .
We need to wait a bit to clean up our internal API usage.
2015-12-31 16:35:02 +11:00
Sam
af93a1d94c
FEATURE: upgrade sidekiq to version 4.0
2015-12-31 16:14:58 +11:00
Sam
fcf1777ddf
FIX: group notification drop down not populated on user page
2015-12-31 15:49:32 +11:00
Sam
01281b6364
FIX: hide bookmarks tab on other peoples profile (unless self or admin)
...
FIX: missing download my posts button
FIX: moderators had no way of seeing responses and edits etc
2015-12-31 15:05:23 +11:00
Sam
cba76db53b
FIX: if people link own post, watchers not notified
2015-12-31 10:51:58 +11:00
Sam
736cbf3d2d
FEATURE: add parameter that allows you to filter directory items on user
...
adding ?username= will filter directory_items.json by the username
2015-12-30 15:00:00 +11:00
Sam
92724dcee1
FEATURE: show posters as opposed to participants in messages
...
Inbox now mixes stuff that you started with stuff you replied to, removing
your avatar from the avatar list causes a lot of confusion.
2015-12-30 14:49:40 +11:00
Sam
2a95e46d3e
FIX: missing Mark all as Read button
2015-12-30 13:50:01 +11:00
Sam
a4587b18f5
FEATURE: allow users to archive messages from message page
2015-12-30 13:26:39 +11:00
Sam
0fdac4fc42
Update Gemfile
...
fix for certain bundlers
2015-12-28 22:32:45 +11:00
Sam
4f04099015
Merge pull request #3932 from tgxworld/fix_vulnerable_gems
...
FIX: Update vulnerable gems.
2015-12-27 21:33:44 +11:00
Sam
14a86dd125
tweak styling
2015-12-24 10:10:00 +11:00
Sam
7ae1846834
improve user page styling
2015-12-24 09:45:09 +11:00
Sam
03ea0bfe22
FEATURE: allow users to archive messages
...
Messages are now in 3 buckets
- Inbox for all new messages
- Sent for all sent messages
- Archive for all messages you are done with
You can select messages from your Inbox or Sent and move them to your Archive,
you can move messages out of your Archive similarly
Similar concept applied to group messages, except that archiving and unarchiving
will apply to all group members
2015-12-23 11:09:30 +11:00
Sam
205b1c5fbd
Update emoji.js.erb
...
bump emoji number
2015-12-23 08:46:42 +11:00
Sam Saffron
00342faff9
FIX: use default favicon if a bad favicon is specified
2015-12-22 18:08:27 +11:00
Sam
f3e24bac4f
we need spork rails to run our specs
2015-12-21 16:47:42 +11:00
Sam
2e6af399a8
update rails, remove spork
2015-12-21 16:39:15 +11:00
Sam
950b69cfb0
Prepare for Rails 5, don't simply include Rails be explicit
2015-12-21 16:15:30 +11:00
Sam
460675400f
forgotten semicolons
2015-12-21 10:23:17 +11:00
Sam
2470a0adbe
remove max-height rule, it was messing up display of front page
...
was targetting .ember-view which is huge.
2015-12-20 18:27:10 +11:00
Sam
33df5372f6
comment out some tests for now
2015-12-20 17:49:35 +11:00
Sam
f9e6e5a66a
PERF: properly preload all category notification levels
2015-12-20 17:47:02 +11:00
Sam
d20f6e0cb0
fix test and comment out js test for now
2015-12-20 17:34:15 +11:00
Sam
b7ce4bdc78
correct code
2015-12-20 17:21:31 +11:00
Sam
8496f8dfc2
FEATURE: display username user dropdown
2015-12-20 17:15:45 +11:00
Sam
63076a841e
Merge branch 'refactor_user_page'
2015-12-20 16:50:33 +11:00
Sam
a8b5192efd
FEATURE: User page refactor
...
Re-organise user page so it is easier to find interesting info
split it into tabs
- Introduce notifications and messages tabs
- Stop couting stuff for the user page to speed up rendering
- Suppress more information when viewing your own profile
2015-12-20 16:45:49 +11:00