Commit Graph
100 Commits
Author SHA1 Message Date
Guo Xiang Tan 70a1d8bce8 Merge pull request #4417 from tgxworld/api_username_is_useful
FIX: Don't sanitize API username so that we can potentially identify …
2016-08-29 16:07:48 +08:00
Guo Xiang Tan dfcbaf66d3 Merge pull request #4424 from bradleypriest/patch-1
Adjust example order to match description
2016-08-29 16:07:20 +08:00
Guo Xiang Tan 2349ab5a51 puts not putc. 2016-08-29 10:30:10 +08:00
Guo Xiang Tan e57ed5223a Fix rake task. 2016-08-26 15:46:42 +08:00
Guo Xiang Tan b1c8ede617 Merge pull request #4420 from tgxworld/prioritize_user_avataras
Prioritize user avatars when regenerating missing optimized images.
2016-08-26 07:58:58 +08:00
Guo Xiang Tan 2f39293867 FIX: User enabled readonly mode was not working. 2016-08-25 23:31:59 +08:00
Guo Xiang Tan 2448db4716 Prioritize user avatars when regenerating missing optimized images. 2016-08-25 18:29:52 +08:00
Guo Xiang Tan 7e80810de1 FIX: Raise an error if metadata is not extracted correctly. 2016-08-25 17:20:32 +08:00
Guo Xiang Tan 41a22b8c5a FIX: Don't sanitize API username so that we can potentially identify the source. 2016-08-25 16:32:11 +08:00
Guo Xiang Tan 5da768b4fe FIX: find_each uses find_in_batches which uses the primary key as the order. 2016-08-25 16:11:28 +08:00
Guo Xiang Tan 0b965e02b1 Bump PostgreSQL version in INSTALL.md. 2016-08-25 15:41:51 +08:00
Guo Xiang Tan c1f516a604 Update Ruby version in docs. 2016-08-24 15:48:15 +08:00
Guo Xiang Tan 7258e3f3e2 Merge pull request #4411 from rimian/filter-api-key
filter out api key
2016-08-24 10:59:50 +08:00
Guo Xiang Tan 3e4b02bbd4 FIX: Make sure constant reflects the right backup extenstion. 2016-08-24 10:28:23 +08:00
Guo Xiang Tan 17f0727b04 FIX: Don't track user profile view when viewed by system user. 2016-08-23 16:25:31 +08:00
Guo Xiang Tan f19232646f Rescue all errors when backfilling shas for uploads. 2016-08-23 15:05:37 +08:00
Guo Xiang Tan 90571f0364 FIX: Format selection as multiline code only when selection spans multiple lines. 2016-08-23 15:00:16 +08:00
Guo Xiang Tan 2c1249f381 Remove monkey patch. 2016-08-23 12:04:53 +08:00
Guo Xiang Tan 574b8fdf41 Allow backfilling of shas to complete. 2016-08-23 10:34:32 +08:00
Guo Xiang Tan e9927ce5b1 Make eslint happy. 2016-08-23 09:56:24 +08:00
Guo Xiang Tan f32d8e2882 FIX: Code fences shortcut did not insert newlines before and after backticks. 2016-08-23 09:51:01 +08:00
Guo Xiang Tan f27187c9e2 Merge pull request #4404 from mbajur/master
Add missing fat arrow in bbcode_to_md method rescue block
2016-08-19 20:10:51 +08:00
Guo Xiang Tan c17e5b3bc3 Merge pull request #4403 from tgxworld/more_plugins_to_test
Add more plugins to test for.
2016-08-19 17:28:09 +08:00
Guo Xiang Tan bd76b62fd0 Add more plugins to test for. 2016-08-19 17:01:18 +08:00
Guo Xiang Tan ab9a8c6a3e Merge pull request #4395 from frictionel/patch-2
FIX: correct regex for username
2016-08-19 16:19:57 +08:00
Guo Xiang Tan 1ea0ec7e10 Merge pull request #4401 from tgxworld/test_important_plugins
Test important plugins on our travis build.
2016-08-19 16:01:53 +08:00
Guo Xiang Tan 5222022842 Use another rake task to regenerate optimized images for multisite. 2016-08-19 15:52:09 +08:00
Guo Xiang Tan 3141c179f7 REFACTOR: Get bucket name from S3Helper. 2016-08-19 14:08:37 +08:00
Guo Xiang Tan 735a71ff3a Test important plugins on our travis build. 2016-08-18 19:22:45 +08:00
Guo Xiang Tan 9a6f54de6c Allow other directories to be specified when accessing fixtures. 2016-08-18 16:34:43 +08:00
Guo Xiang Tan 78bec20424 FIX: Check options and not just site settings. 2016-08-17 16:16:00 +08:00
Guo Xiang Tan 4e76525d25 Remove stray quotation. 2016-08-17 09:15:06 +08:00
Guo Xiang Tan 7ff1f6cb9d Allow custom bucket name for FileStore::S3Store. 2016-08-16 15:25:42 +08:00
Guo Xiang Tan 11356fb9f4 Allow custom s3 options for S3Helper. 2016-08-16 11:13:59 +08:00
Guo Xiang Tan 1916924304 Split options into another method so that plugins can use it. 2016-08-15 22:04:24 +08:00
Guo Xiang Tan 205be0d044 Remove unused require. 2016-08-15 21:58:55 +08:00
Guo Xiang Tan 0433163866 FEATURE: Support subfolders in SiteSetting.s3_backup_bucket. 2016-08-15 16:14:51 +08:00
Guo Xiang Tan aa5de3c40a FEATURE: Support subfolders in S3 bucket name.
This commit also fixes a bug where s3 uploads are not
moved to a tombstone folder when removed.
2016-08-15 13:07:41 +08:00
Guo Xiang Tan 9144fe5dc7 Update aws-sdk gem. 2016-08-15 12:15:46 +08:00
Guo Xiang Tan 3378ee223f FIX: Incorrect path being passed to S3Store#remove_file. 2016-08-15 11:35:30 +08:00
Guo Xiang Tan 25c432880a Merge pull request #4390 from discourse/security_patches_rails
SECURITY: Upgrade Rails.
2016-08-13 09:47:33 +08:00
Guo Xiang Tan b89489b65c SECURITY: Upgrade Rails. 2016-08-13 09:25:06 +08:00
Guo Xiang Tan 42593562f5 Merge pull request #4384 from tgxworld/raise_error_when_method_not_implemented
FIX: Make sure we raise an error when method is not implemented.
2016-08-12 12:41:42 +08:00
Guo Xiang Tan 1779a9634a FIX: Make sure we raise an error when method is not implemented. 2016-08-12 11:43:57 +08:00
Guo Xiang Tan 6075debc90 Add specs to hidding settings when shadowed by a global. 2016-08-11 16:04:45 +08:00
Guo Xiang Tan 11afb20772 SECURITY: Escape HTML in filename. 2016-08-11 11:27:12 +08:00
Guo Xiang Tan 8dab20e5b8 SECURITY: Escape image title in lightbox. 2016-08-11 11:15:00 +08:00
Guo Xiang Tan fb1698c920 Merge pull request #4380 from tgxworld/fix_post_merger_publish_delay
FIX: Revised post not updated correctly when merging posts.
2016-08-11 09:19:43 +08:00
Guo Xiang Tan 01d79d9129 Merge pull request #4382 from SafaAlfulaij/fix_plural_strings
Fix Plural Strings That are Not Marked as Plural
2016-08-11 09:18:37 +08:00
Guo Xiang Tan 6288d4c995 FIX: Revised post not updated correctly when merging posts. 2016-08-11 09:01:54 +08:00
Guo Xiang Tan 8213da20f2 Extract polls edit window to a site settings. 2016-08-10 15:17:16 +08:00
Guo Xiang Tan a9ae99bf82 FIX: Admin dashboard problems not displaying when there is one error. 2016-08-09 00:33:37 +08:00
Guo Xiang Tan 02d63d5bc6 FIX: Backup script with custom filename needs to include version number. 2016-08-08 09:33:50 +08:00
Guo Xiang Tan 72b321b7b4 Revert "UX: Centering Badge notification styles on mobile."
This reverts commit fce902ab1e.
2016-08-08 09:02:46 +08:00
Guo Xiang Tan 8539f02b5e FIX: Backuper should return the full path. 2016-08-08 07:49:37 +08:00
Guo Xiang Tan fce902ab1e UX: Centering Badge notification styles on mobile. 2016-08-08 07:24:09 +08:00
Guo Xiang Tan 33e7df977d FIX: Row resize zone should be full width of composer. 2016-08-05 10:02:01 +08:00
Guo Xiang Tan 6827239444 Merge pull request #4360 from tgxworld/support_new_pg_dump_format
Changes to backup and restore
2016-08-04 10:58:42 +08:00
Guo Xiang Tan 2332422a85 UX: Text wasn't centered properly in badge notification. 2016-08-04 10:51:11 +08:00
Guo Xiang Tan 66f14ab0b8 Draw grippie with CSS. 2016-08-04 10:24:14 +08:00
Guo Xiang Tan 927bf19d93 UX: Disable dismiss notifications button when there is nothing to dismiss. 2016-08-04 09:48:10 +08:00
Guo Xiang Tan adc8336949 Make sure we track restore/backlog success logs as well. 2016-08-03 16:23:47 +08:00
Guo Xiang Tan b860d1b254 FIX: Ensure uploads directory exists. 2016-08-03 16:23:47 +08:00
Guo Xiang Tan 0a942dbc73 FEATURE: Avoid creating an archive for database only backups. 2016-08-03 16:23:46 +08:00
Guo Xiang Tan 463b536b85 Bump onebox. 2016-08-02 15:49:05 +08:00
Guo Xiang Tan dc2dae2cc4 FIX: Logs notice was not displaying the right Date. 2016-08-02 12:40:28 +08:00
Guo Xiang Tan bf683178a8 FIX: Remove tag plugin code from tag hashtag check. 2016-08-02 10:59:12 +08:00
Guo Xiang Tan 3f4f1ee032 Merge pull request #4359 from tgxworld/backward_compatibility_for_backups_and_restores
FIX: Ensure that our restorer is backwards compatible.
2016-08-02 10:45:27 +08:00
Guo Xiang Tan ad44a64c5b UX: Fixes for poll option bars on dark theme. 2016-08-02 09:48:06 +08:00
Guo Xiang Tan 441b98579a FIX: Ensure that our restorer is backwards compatible. 2016-08-02 09:19:56 +08:00
Guo Xiang Tan dc2cf996af UX: Styles for poll options on dark theme. 2016-08-01 22:07:57 +08:00
Guo Xiang Tan d970f4d3d8 Fix incorrect test. 2016-07-29 17:05:00 +08:00
Guo Xiang Tan 1171936850 FIX: Don't escape strings from polls. 2016-07-29 16:35:57 +08:00
Guo Xiang Tan f9454088c3 FIX: Missing icons on polls preview. 2016-07-29 16:15:52 +08:00
Guo Xiang Tan 89d2340e37 UX: Add margins for poll links in preview. 2016-07-29 15:19:56 +08:00
Guo Xiang Tan ffbfcd7ee2 Fix build. 2016-07-29 14:47:23 +08:00
Guo Xiang Tan e336e56153 FIX: Incorrect sort for poll results. 2016-07-29 14:42:55 +08:00
Guo Xiang Tan f9ef1e1997 Opps this broke polls. 2016-07-29 14:28:09 +08:00
Guo Xiang Tan 6538363c18 PERF: Reduce the number of queries when voting. 2016-07-29 14:02:48 +08:00
Guo Xiang Tan fc7ebc342c Merge pull request #4354 from tgxworld/remove_button_look_on_polls
UX: Remove button styles on polls.
2016-07-29 11:41:13 +08:00
Guo Xiang Tan 32c962cfd8 UX: Remove button styles on polls. 2016-07-29 11:09:23 +08:00
Guo Xiang Tan 1552908fc0 Merge pull request #4353 from fantasticfears/translation
Explicit on site settings and fixing minor parts
2016-07-29 10:40:41 +08:00
Guo Xiang Tan 8e30ab31c2 Merge pull request #4351 from tgxworld/allow_non_number_poll_results_to_be_sorted
FEATURE: Allow poll results to be sorted.
2016-07-29 10:38:29 +08:00
Guo Xiang Tan a7f2b2ded6 FEATURE: Allow poll results to be sorted. 2016-07-29 10:37:27 +08:00
Guo Xiang Tan bb3f4a10f3 UX: Polls should take up full width of post's container. 2016-07-28 23:06:25 +08:00
Guo Xiang Tan 85a91c8b81 Remove unused property. 2016-07-28 21:28:49 +08:00
Guo Xiang Tan 0128fdfc46 FIX: Discourse.ajax is deprecated. 2016-07-28 18:20:24 +08:00
Guo Xiang Tan c449bbe882 Merge pull request #4347 from tgxworld/unlist_topic_creation
FEATURE: Add toggle topic visibility button in popup menu.
2016-07-28 17:18:34 +08:00
Guo Xiang Tan 36ddb1787e FEATURE: Add toggle topic visibility button in popup menu. 2016-07-28 16:57:04 +08:00
Guo Xiang Tan c58123b421 Merge pull request #4346 from tgxworld/adrapereira-ap_merge_multiple_responses
FEATURE: Allow staff users to merge posts.
2016-07-27 12:48:09 +08:00
Guo Xiang Tan 2242568507 UX: Missing spinning wheel on topics list. 2016-07-26 17:31:28 +08:00
Guo Xiang Tan 47c835f0f0 UX: Missing spinning wheel on user topics list. 2016-07-26 17:17:39 +08:00
Guo Xiang Tan b335ccbd59 Merge pull request #4341 from tgxworld/pipe_dump_to_gzip
FEATURE: Work with compressed version of `pg_dump` during backup and …
2016-07-26 10:43:39 +08:00
Guo Xiang Tan 76e57ddef3 FIX: Log errors in ensure block of restorer. 2016-07-26 10:24:01 +08:00
Guo Xiang Tan 03aa13b2bb FEATURE: Work with compressed version of pg_dump during backup and restore. 2016-07-26 10:24:01 +08:00
Guo Xiang Tan 33a628b0b0 UX: Vote now button to show up as primary once options have been selected. 2016-07-21 06:05:06 +08:00
Guo Xiang Tan 1b986f2266 Fix the build. 2016-07-20 14:11:10 +08:00
Guo Xiang Tan ab1b3472bd Merge pull request #4338 from eriko/patch-3
add `bundle exec` so that the admin account created runs
2016-07-20 12:32:15 +08:00
Guo Xiang Tan f5c8d05f1e Should be api_username. 2016-07-20 09:30:08 +08:00
Guo Xiang Tan 4e4b1cb4a3 Merge pull request #4326 from dachary/wip-plugin-spec
explain how to run tests for a given plugin
2016-07-19 20:03:29 +08:00