Erick Guan
9dd325f805
FIX: skip some checks for CJK locale in TextSentinel ( #7322 )
2019-04-05 15:07:49 +02:00
Erick Guan
bd2edbb243
FIX: a temporary fix when CJK user tries to add a long title ( #7045 )
...
Discourse doesn't analyze the sentence components. So it counts the whole sentence as a word for CJK.
https://meta.discoursecn.org/t/topic/3033
2019-03-13 17:22:46 +11:00
Erick Guan
e1d1073273
FIX: use * when apply italics in the editor instead of _ ( #7063 )
2019-02-27 10:36:14 +01:00
Xiao Guan
7ec124fc89
FEATURE: Improved deprecation warnings ( #6722 )
...
* FEATURE: Discourse.deprecate can report version
* Ember counterpart for deprecation
2018-12-06 11:38:01 +00:00
Erick Guan
a2042c8e7d
strip unused string from an deleted site setting
2018-11-20 14:28:42 +01:00
Erick Guan and tgxworld
03b3e57a44
FEATURE: login by a link from email
...
Co-authored-by: tgxworld <tgx@discourse.org >
2018-02-13 16:14:39 +08:00
Erick Guan
7c3123a2dd
Downcase encoded slug by default and more specs
2017-10-26 16:50:29 +08:00
Erick Guan
6e59149a77
FIX: rebuild index when engine replaced ( #5021 )
2017-08-16 07:38:34 -04:00
Erick Guan
c7a101476e
Spec for local auth check
2017-08-16 11:01:00 +02:00
Erick Guan
1146772deb
Fix: unlinked topic search model ( #5044 )
2017-08-15 11:46:57 -04:00
Erick Guan
1646bc0031
FIX: fails loud if default setting is not set
...
Noted:
- `push_api_secret_key` is set in initializer. Shimed with ''
- `default_theme_key` is set in seeding. Shimed with ''
2017-08-15 12:07:25 +02:00
Erick Guan
77d00ea7f9
Remove hidden settings' translation ( #5043 )
2017-08-14 12:12:40 +02:00
Erick Guan
468a8fcd20
FEATURE: Site settings defaults per locale
...
This change-set allows setting different defaults for different locales.
It also:
- Adds extensive testing around site setting validation
- raises deprecation error if site setting has the default property based on env
- relocated site settings for dev and tests in the initializer
- deprecated client_setting in the site setting's loading process
- ensure it raises when a enum site setting being set
- default_locale is promoted to `required` category.
- fixes incorrect default setting and validation
- fixes ensure type check for site settings
- creates a benchmark for site setting
- sets reasonable defaults for Chinese
2017-08-02 12:24:19 -04:00
Erick Guan
f1eccd113c
Replace rmmseg gem for cppjieba_rb since better dictionary ( #5006 )
...
* Rename locale to ts config in search module to make it clear
* Replace rmmese-cpp for cppjieba_rb
2017-07-31 15:28:48 -04:00
Erick Guan
9f8a917d65
add event name for ping webhooks in the header
2017-05-02 08:13:23 +02:00
Erick Guan
e3e3a04cd2
enable_noscript_support is not used anymore
2017-03-27 11:09:50 +02:00
Erick Guan
cfbfea0596
FEATURE: Allow easier customization to the web hook event serialization.
2017-03-16 10:09:05 +08:00
Erick Guan
52763f5115
FEATURE: Allow posting a link with topics
2016-12-05 17:20:54 +01:00
Erick Guan
0fbb3fb02b
FIX: open login modal fails because of missing parameters
2016-12-05 13:22:28 +08:00
Erick Guan
8c8549b27b
FIX: missing post and topic edited webhooks
2016-11-30 20:49:45 +01:00
Erick Guan
fb3c5bcd0f
FIX: activy column title shows the non-i18n datetime
2016-11-16 22:15:34 +01:00
Erick Guan
dd58c00699
FEATURE: Add instance id in the webhook payload
2016-11-04 15:21:41 +01:00
Erick Guan
707fcb9434
FIX: Content-Lenght should be the size in octets
2016-09-21 10:31:20 +08:00
Erick Guan
48fb0558d8
UX: Add headers for webhook events
2016-09-19 12:07:55 +08:00
Erick Guan
00d5facf36
FEATURE: prompts new webhook events
2016-09-19 12:07:17 +08:00
Erick Guan
c463cf63d4
FEATURE: Webhook for user creation and approval
2016-09-19 10:12:55 +08:00
Erick Guan
7423140825
FIX: show event name in webhook headers
2016-09-12 17:48:54 +08:00
Erick Guan
9ce61b4586
FEATURE: Webhooks.
2016-09-05 18:44:00 +08:00
Erick Guan
0217973374
FIX: Importing user avatar when new user login by SSO
2016-08-29 20:47:19 +08:00
Erick Guan
bc81c8b2a0
Explicit on site settings and fixing minor parts
2016-07-28 23:35:24 +08:00
Erick Guan
9ace919f7c
Add translation for topic title and remove dangling validation translation
2016-05-17 15:19:08 +02:00
Erick Guan
85e2467a0d
watch ruby 2.3.1 on travis
2016-05-07 23:57:33 +02:00
Erick Guan
e09634dbae
Add plugin outlets for user stream item and topic list item
2016-04-06 15:03:49 -04:00
Erick Guan
7df33ca287
FIX: redirect output omniauth log to Rails logger instead of stdout
2016-03-19 13:17:13 +01:00
Erick Guan
e9bff2e550
FIX: Add missing translation in groups page
2016-03-08 12:25:46 +01:00
Erick Guan
0c6e5befe4
FIX: topic summary description text was conflicts with reply counter
2016-02-16 12:38:51 +01:00
Erick Guan
35142847ba
FIX: Prepend the user id before username in admin user routes
2016-02-09 15:14:13 +01:00
Erick Guan
4cb6d2b0ec
Updating Discuz import script (Most work done by zh99998)
2016-02-05 20:45:08 +01:00
Erick Guan
54adf72582
FIX: rare user card exception
...
- trigger the shown logic in user card view
- some tweaks to user card show logic
2015-05-25 22:37:00 +08:00
Erick Guan
5ad878ca40
FIX: add missing username properties to usercard
2015-05-25 01:32:11 +08:00
Erick Guan
7d8cf2eb3d
FIX: press ESC can close user card
2015-05-21 13:54:34 +08:00
Erick Guan
4ac40145d8
user card animation when there is an active user card
2015-05-19 00:19:06 +08:00
Erick Guan
3be1098cc5
FIX: also inline category badge styles to digest email
2015-05-18 00:45:26 +08:00
Erick Guan
ec03a8d21b
Also exclude JS libraries from code climate
2015-05-16 19:12:14 +08:00
Erick Guan
f49c71ddfa
DEV: exclude the script folder from code climate
2015-05-16 10:47:37 +08:00
Erick Guan
7737cc2828
vBulletin: ability to import attachments from filesystem
2015-05-15 19:39:15 +08:00
Erick Guan
2c09e97ca0
FIX: unhandle show report action
2015-05-15 00:59:31 +08:00
Erick Guan
54ce66fc62
FIX: ensure not found category badge consistent with style
2015-05-13 19:30:19 +08:00
Erick Guan
4c00eef8b5
FIX: category custom slug can't be set when generation method is none
2015-05-13 16:54:19 +08:00
Erick Guan
b7094c6f5d
FIX: show user card on group page and fix styles
2015-05-12 01:24:17 +08:00
Erick Guan
a48dd1cc28
store the slug as the title is, only sanitize the slug
...
and prettify code
2015-05-05 18:33:16 +08:00
Erick Guan
b772ff6e13
FEATURE: add slug geneartion options
2015-05-05 18:08:30 +08:00
Erick Guan
271d6f896e
Update copyright notice
2015-04-16 13:33:50 +08:00
Erick Guan
4065df29f1
add missing period in the translation file
...
Transifex doesn't recognize the `one` and `other` again :( Hope this can fix that.
2015-04-03 20:26:24 +08:00
Erick Guan
2e7c5e5f35
FIX: unmatched element prevents HTMLbars from compiling
2015-04-03 18:40:17 +08:00
Erick Guan
186c99a1a7
update regex to remove the bbcode tags
2015-03-24 17:59:08 +08:00
Erick Guan
026cdd8fc3
FEATURE: add 360Spider UA to allow 360 crawl Discourse sites
2015-03-16 22:58:33 +08:00
Erick Guan
c955907f60
FEATURE: add microdata prop and more links for crawler
...
- add microdata based on schema.org
- add breadcrumb on the top of topic
- add navigations link on the bottom of every pages
- add category description on the category list
2015-03-16 22:52:10 +08:00
Erick Guan
ae62c1361e
extends share links
...
- change `iconClass` to `faIcon`
- add `htmlIcon` to allow custom HTML
- add reddit, linkedin, tumblr
2015-03-16 16:44:50 +08:00
Erick Guan
29840888e5
FIX: respect default locale settings when seed
...
We seed special categories during migration so we have to set the
locale before the migration happens.
2015-02-14 23:51:53 +08:00
Erick Guan
b1e69d1f95
find more reply syntax during processing in discuzx importer
2015-02-10 21:43:16 -08:00
Erick Guan
36e550ffea
add Discuz! X importer
2015-02-06 05:01:43 -08:00
Erick Guan
58024a8f4d
add table prefix constant to bbpress import script & fix user imports
2015-02-03 10:06:35 -08:00
Erick Guan
22d580fe76
allow to translate image's exceprt
2015-01-23 17:58:14 +08:00
Erick Guan
eedb977c58
Fix guidelines_topic anchor point
2015-01-17 21:45:36 +08:00
Erick Guan
97b3914b70
FIX: use utc time when generate reports; set boundary
2014-12-30 22:43:03 +08:00
Erick Guan
1e166d89ff
support setting category slug
2014-12-30 03:14:54 +08:00
Erick Guan
fe7f2c6979
FIX: today visits not shown
2014-12-30 03:09:22 +08:00
Erick Guan
489feac121
FIX: user card can't expand when the username is number
2014-12-29 19:15:58 +08:00
Erick Guan
ceca85c9eb
use system user helper and constant when it's referred
2014-12-18 18:21:14 +08:00
Erick Guan
6e59a450c1
expanding active column width
...
When the post gets older, its translation text needs more space
2014-12-15 22:33:37 +08:00
Erick Guan
9937af7ac4
disable sending email or show presence when forgot system user password
2014-12-10 14:17:56 +08:00
Erick Guan
667758ff40
Add stringex for Chinese slug generation
2014-11-11 21:12:07 +08:00
Erick Guan
968bcd5acb
Add zh_CN translation for emoji plugin
2014-11-08 20:17:51 +08:00
Erick Guan
951b6e6bb8
css tweak - expanding some room for zh_CN
2014-11-06 22:06:21 +08:00
Erick Guan
bd59a5caba
return true when invoke verbose_localization_session
2014-09-14 10:10:48 +08:00
Erick Guan
faaecabc62
typo
2014-07-29 11:22:28 +08:00
Erick Guan
f2cd2f1d3c
FIX: hidden helper class is important
2014-07-23 11:50:59 +08:00
Erick Guan
9c233073f2
Saved draft tip is more likely a bar instead of box.
2014-07-17 09:59:49 +08:00
Erick Guan
ecbda44be4
fix user/username error class
2014-05-26 17:46:31 +08:00
Erick Guan
81dda9fc3e
Fix c6ef85d517. Align reply area, 10px padding.
2014-05-19 01:15:11 +08:00
Erick Guan
c6ef85d517
User prefrence: align all control groups on top. And some padding for follow category.
2014-05-18 16:34:12 +08:00
Erick Guan
76e26daf87
So sad, reply-new icon is not circle. I can't tolerate this <3
2014-05-18 00:24:51 +08:00
Erick Guan
60b9c8b79e
align for user dropdown. No badge for zero incoming message.
2014-05-16 19:54:58 +08:00
Erick Guan
f2fd38a7b8
One more line for more space in new version email
2014-05-09 15:02:22 +08:00
Erick Guan
a4aeb21f0c
Add regular notification level into topic_view_serializer for the user who enter the new topic
2014-05-06 16:42:18 +08:00
Erick Guan
6d45f71254
move concerns to the model/concerns
2014-04-19 12:00:40 +08:00
Erick Guan
2c6b7d8bed
add pluralization rules in ember for Chinese
2014-04-15 19:59:20 +08:00
Erick Guan
28dd55c772
update zh_CN translation
2014-04-11 09:28:35 +08:00
Erick Guan
0e0013b73f
*minus #show-topic-admin button z-index by 1 which will be covered by #user-dropdown
...
*Add 14px width for #topic-admin-menu icon, align the button text
2014-04-03 17:51:09 +00:00
Erick Guan
5226d8345c
set visual indicator for active notification level
2014-04-03 12:01:31 +00:00
Erick Guan
dda643a1bf
update zh_cn translation
2014-03-28 17:09:42 +00:00
Erick Guan
c7ffd111dc
Update client.zh_CN.yml
...
I have to say it's not a pleasure experience to update locale file. It seems Transifex doesn't sync properly.
2014-03-22 20:42:54 +08:00
Erick Guan
b5ca30bf56
poster_expansion will only slide down now.
2014-03-03 09:32:45 +00:00