Commit Graph
100 Commits
Author SHA1 Message Date
Guo Xiang Tan 621372eb7b FIX: Pluralize logs notice message. 2016-03-24 09:14:20 +08:00
Guo Xiang Tan fa56082f94 FIX: Overlapping quote reply button on Android. 2016-03-23 17:49:34 +08:00
Guo Xiang Tan 6dd6bbd509 FIX: Incorrect scope. 2016-03-23 14:30:46 +08:00
Guo Xiang Tan 2862c4e5a3 FIX: Quote reply button was covered by iOS menu. 2016-03-23 13:59:17 +08:00
Guo Xiang Tan 8fea5ad35e Update Logster. 2016-03-22 15:24:11 +08:00
Guo Xiang Tan 5dc5767851 FIX: Assigning wrong value to variable. 2016-03-21 15:18:31 +08:00
Guo Xiang Tan 779f749642 Merge pull request #4066 from tgxworld/update_meta_to_new_rate_limit_api
Update to new rate limit Redis config.
2016-03-21 15:08:00 +08:00
Guo Xiang Tan 54bdcd9b98 Update to new rate limit Redis config. 2016-03-21 14:00:50 +08:00
Guo Xiang Tan bf209d8344 FIX: Redis hostname may resolve to nothing. 2016-03-11 19:06:37 +08:00
Guo Xiang Tan 90fde5053d FIX: Load Redis patch much earlier. 2016-03-11 17:29:00 +08:00
Guo Xiang Tan 89b1998174 Add default port for redis_slave. 2016-03-11 15:07:07 +08:00
Guo Xiang Tan b1e0da2b50 Merge pull request #4056 from tgxworld/redis_failover
FEATURE: Master-Slave Redis configuration with fallback and switch over.
2016-03-11 14:54:02 +08:00
Guo Xiang Tan c07c474575 FEATURE: Master-Slave Redis configuration with fallback and switch over. 2016-03-11 12:18:58 +08:00
Guo Xiang Tan ee8be3d1a8 Merge pull request #4059 from gdpelican/feature/disable-mailing-list-mode
FEATURE: Add site setting for disabling mailing list mode site wide
2016-03-08 16:27:09 +08:00
Guo Xiang Tan db781d3349 FIX: LogsNotice does not have currentUser attribute. 2016-03-08 16:19:42 +08:00
Guo Xiang Tan d783a393ec Fix randomly failing test. 2016-03-08 12:51:51 +08:00
Guo Xiang Tan 322ee3e17c Fix the build. 2016-03-08 11:38:26 +08:00
Guo Xiang Tan 00078a438b FIX: FastImage#size returns nil if it can't fetch the image size. 2016-03-08 11:29:18 +08:00
Guo Xiang Tan fcc86d3a9d FIX: PostgreSQLFallbackHandler was bouncing in and out of readonly. 2016-03-08 10:02:38 +08:00
Guo Xiang Tan bc4087b9bb FIX: RSS description might be nil. 2016-03-07 17:42:17 +08:00
Guo Xiang Tan eb5cee3150 Make ESlint happy. 2016-03-07 17:41:00 +08:00
Guo Xiang Tan 7d92c9c738 FIX: Pin ESlint to 2.2.
See https://github.com/eslint/eslint/issues/5476
2016-03-07 10:27:27 +08:00
Guo Xiang Tan 9d24a00f2e Merge pull request #4055 from tgxworld/fix_topic_view_not_working_in_redis_readonly
FIX: Topic view not working when Redis is readonly.
2016-03-03 08:48:31 +08:00
Guo Xiang Tan 5f8e20aa1d FIX: Topic view not working when Redis is readonly. 2016-03-03 08:26:45 +08:00
Guo Xiang Tan f32f0d6337 Merge pull request #4017 from tgxworld/add_admin_banner_for_logster
FEATURE: Admin Banner when Logster logs is getting flooded.
2016-03-02 23:44:56 +08:00
Guo Xiang Tan fdd6920ae7 FEATURE: Admin Banner when Logster logs is getting flooded. 2016-03-02 22:03:16 +08:00
Guo Xiang Tan b41aa27a84 FEATURE: Support multisite in PostgreSQL fallback adapter. 2016-03-02 21:37:37 +08:00
Guo Xiang Tan bfea842d32 UX: Better error message when logging out in read only mode. 2016-03-01 17:37:50 +08:00
Guo Xiang Tan 39c3f06379 FIX: j keyboard shortcut skipping first post in topic. 2016-03-01 16:47:47 +08:00
Guo Xiang Tan 0172684719 Some fixes for phpbb importer. 2016-03-01 10:21:54 +08:00
Guo Xiang Tan 3ce4e568f4 UX: Double show double hr when there aren't any notifications. 2016-02-29 12:33:11 +08:00
Guo Xiang Tan 9e46690086 Add Permalink to phpbb3 import script. 2016-02-29 11:48:43 +08:00
Guo Xiang Tan 62011a252f FIX: Follow redirects when downloading favicons. 2016-02-25 11:50:34 +08:00
Guo Xiang Tan e8de80de98 FIX: Default to first page when page params is an array. 2016-02-25 11:32:58 +08:00
Guo Xiang Tan 84919ca43a Merge pull request #4036 from tgxworld/fix_nil_class_error
FIX: `Array#first` with block will return the first element if nothin…
2016-02-24 23:22:59 +08:00
Guo Xiang Tan e7cfbfeabb FIX: Array#first with block will return the first element if nothing matches. 2016-02-24 22:34:40 +08:00
Guo Xiang Tan a3fa80847e Return 404 instead 500 when plugin is disabled. 2016-02-24 17:09:30 +08:00
Guo Xiang Tan f89e9024ba FIX: Topic and Post may be nil. 2016-02-24 16:27:28 +08:00
Guo Xiang Tan b500f35d14 Ignore ActionController::UnknownHttpMethod error in logs. 2016-02-24 12:58:23 +08:00
Guo Xiang Tan f2db1a27cf FIX: Make sure we write inside a lock. 2016-02-23 12:10:25 -05:00
Guo Xiang Tan 8dad58ba78 FIX: N+1 query on topics view page. 2016-02-23 12:10:25 -05:00
Guo Xiang Tan c344bd3fd1 FIX: Make sure we write inside a lock. 2016-02-23 23:25:59 +08:00
Guo Xiang Tan ced86aa890 FIX: N+1 query on topics view page. 2016-02-23 16:22:40 +08:00
Guo Xiang Tan 3142eb76dc Revert "FIX: find_by_attribute method in Rails 4.5 is case insensitive."
This reverts commit 2af587005b.
2016-02-22 15:55:48 +08:00
Guo Xiang Tan c852fb83d0 Upgrade Logster. 2016-02-22 15:18:25 +08:00
Guo Xiang Tan ded9dc8734 Merge pull request #4021 from dandv/patch-1
Fix typo: are your sure
2016-02-21 22:09:11 +08:00
Guo Xiang Tan c2018ded5d Revert "SECURITY: Upgrade Sprockets."
This reverts commit 1a0a364503.
2016-02-19 15:55:44 +08:00
Guo Xiang Tan 4858187b0e UX: Don't display span if there is no count. 2016-02-19 15:55:43 +08:00
Guo Xiang Tan afa4e58efd Revert "SECURITY: Upgrade Sprockets."
This reverts commit 1a0a364503.
2016-02-19 15:52:47 +08:00
Guo Xiang Tan 5e329898f6 UX: Don't display span if there is no count. 2016-02-19 15:33:07 +08:00
Guo Xiang Tan c756ddbc2e Merge pull request #4019 from tgxworld/update_sprockets
SECURITY: Upgrade Sprockets.
2016-02-19 15:26:41 +08:00
Guo Xiang Tan 7a261e5e4f UX: Hide close mobile navigation on click. 2016-02-19 15:22:41 +08:00
Guo Xiang Tan 1a0a364503 SECURITY: Upgrade Sprockets.
* Advisory: CVE-2014-7819
* URL: https://groups.google.com/forum/#!topic/rubyonrails-security/doAVp0YaTqY
2016-02-19 10:10:25 +08:00
Guo Xiang Tan 2af587005b FIX: find_by_attribute method in Rails 4.5 is case insensitive.
* https://github.com/rails/rails/pull/23690
2016-02-15 23:05:16 +08:00
Guo Xiang Tan 6fc2d9db3a UX: Fix a bunch of overflowing links on mobile nav. 2016-02-13 00:02:53 +08:00
Guo Xiang Tan b0d2e69cc3 FIX: Update log level to warn. 2016-02-12 15:18:34 +08:00
Guo Xiang Tan f2c64a3580 FIX: Client settings were not being published. 2016-02-11 17:53:30 +08:00
Guo Xiang Tan c7186b1403 FIX: Close autocomplete is term is blank. 2016-02-10 19:50:58 +08:00
Guo Xiang Tan 39aaa181e1 FIX: Category hashtag is cooked incorrectly. 2016-02-10 17:08:57 +08:00
Guo Xiang Tan ee38572be3 UX: Set max-width on category column to trigger overflow. 2016-02-10 16:34:43 +08:00
Guo Xiang Tan abc4454e89 UX: Set max-width in order to trigger overflow. 2016-02-10 16:27:03 +08:00
Guo Xiang Tan d220eb34ff Remove unused mixin. 2016-02-10 16:17:41 +08:00
Guo Xiang Tan 726d81f83b FIX: Don't update autocomplete when removing the key. 2016-02-05 16:47:47 +08:00
Guo Xiang Tan 8560194abf Merge pull request #3973 from tgxworld/postgres_failover
FEATURE: AR adapter to failover to a replica DB server.
2016-02-05 11:27:40 +08:00
Guo Xiang Tan 74dc838f5f FIX: Add a lock to ensure only a single thread is running each time. 2016-02-05 10:47:47 +08:00
Guo Xiang Tan c532d7d1ae Internally AR::Base.establish_connection removes the current connection. 2016-02-05 08:51:50 +08:00
Guo Xiang Tan a08496bb1a Remove Concurrent::TimerTask which spawns a long lasting Thread. 2016-02-05 08:51:50 +08:00
Guo Xiang Tan 0058d09e35 Second attempt which removes any kind proxying. 2016-02-05 08:51:10 +08:00
Guo Xiang Tan 46589a1a0c FEATURE: AR adapter to failover to a replica DB server. 2016-02-05 08:51:10 +08:00
Guo Xiang Tan c0feea4629 Add tests for category hashtag. 2016-02-04 15:52:40 +08:00
Guo Xiang Tan 4cd07fbb29 Fix broken tests. 2016-02-04 15:24:49 +08:00
Guo Xiang Tan c99775ebdb FIX: PrettyText should return the valid slug. 2016-02-04 15:05:15 +08:00
Guo Xiang Tan 04ba3eb053 Merge pull request #3990 from DukeofRealms/master
FIX: users.map should be results.map in xenforo import
2016-02-04 11:19:57 +08:00
Guo Xiang Tan 8772ba2f80 FIX: Redirecting breaks the back button. 2016-02-01 15:11:44 +08:00
Guo Xiang Tan 9b9f0ab4af Upgrade omniauth-google-oauth2. 2016-01-29 23:14:51 +08:00
Guo Xiang Tan 28ac5fb17c FEATURE: DiscourseEvent hook for server side markdown context. 2016-01-29 22:59:15 +08:00
Guo Xiang Tan 2c19e7f73d Fix the build. 2016-01-29 17:52:30 +08:00
Guo Xiang Tan 350f1685e5 UX: Hashtag color for dark theme. 2016-01-29 17:28:41 +08:00
Guo Xiang Tan e8c5127865 Convert to link as long as a valid link is received. 2016-01-29 13:31:11 +08:00
Guo Xiang Tan 190345ba20 Add DiscourseEvent hook when converting raw post to markdown. 2016-01-29 13:30:12 +08:00
Guo Xiang Tan 90100378b8 Extract category hashtag autocomplete into a resuable function. 2016-01-29 10:55:29 +08:00
Guo Xiang Tan 0916007d01 Fix the build. 2016-01-27 16:04:11 +08:00
Guo Xiang Tan 2a24403ef8 Merge pull request #3976 from tgxworld/upgrade_rails
SECURITY: Upgrade rails.
2016-01-26 12:23:23 +08:00
Guo Xiang Tan 33a7651ad6 SECURITY: Upgrade rails. 2016-01-26 12:01:57 +08:00
Guo Xiang Tan b91522c450 Merge pull request #3974 from tgxworld/remove_addressable_from_discourse
Remove addressable from Discourse.
2016-01-25 20:15:21 +08:00
Guo Xiang Tan 0e73660c8d Remove addressable from Discourse. 2016-01-25 18:34:58 +08:00
Guo Xiang Tan b8193e8e67 Remove Arel patch that has been merged upstream. 2016-01-22 12:24:36 +08:00
Guo Xiang Tan c27b9581ef Merge pull request #3971 from davidgnavas/patch-2
little typo
2016-01-21 22:36:13 +08:00
Guo Xiang Tan fc83525a2b FIX: Missing tag in CSS. 2016-01-21 20:39:48 +08:00
Guo Xiang Tan 07b244741c FIX: the build. 2016-01-21 16:21:54 +08:00
Guo Xiang Tan a2857d68bb Make eslint happy. 2016-01-21 12:31:50 +08:00
Guo Xiang Tan bd86e88b05 UX: Remove category hashtag decoration. 2016-01-21 12:27:52 +08:00
Guo Xiang Tan fa794ef59d FIX: Deleting characters on category hashtag was not triggering autocomplete. 2016-01-20 17:18:04 +08:00
Guo Xiang Tan 55352eeb1b FIX: Make eslint happy. 2016-01-20 12:51:54 +08:00
Guo Xiang Tan c6697e2c14 Prefix decorate category badges with '#'. 2016-01-20 12:48:00 +08:00
Guo Xiang Tan 9652c3df4f FIX: Don't track category-badges links. 2016-01-20 12:48:00 +08:00
Guo Xiang Tan 843f93594f UX: Smaller margins for category badges. 2016-01-19 13:45:18 +08:00
Guo Xiang Tan c2c1aea381 Merge pull request #3965 from tgxworld/decorate_category_hashtag
Decorate category hashtag
2016-01-19 11:49:32 +08:00
Guo Xiang Tan 4a7f560a35 FEATURE: Decorate category hashtag links. 2016-01-19 10:58:15 +08:00
Guo Xiang Tan 0812807a53 FIX: Use declared constant. 2016-01-19 10:58:15 +08:00