-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add Gitment Support #1634
Conversation
感觉这是个deadly need啊……为啥一直不merge呢……比第三方舒服多啦…… |
@AlynxZhou need to test it totally before merge. And i think need to make some additions to this pull. Need some time or any beta-testers with live-demo examples. |
@ivan-nginx seems few people test PRs… and seems NexT now contains so many functions and some are outdated… And maybe split three scheme into three themes will be better to maintain? |
@ivan-nginx So...How soon can this PR merged? Or is there anything important to discuss ? I've test it for nearly one month(through I'm not using the latest Hexo and just merge upstream as need). |
@dreampiggy i need to finish my #1697 PR for start working on this PR. I'm working and i can't to do fast anything alone. If it's worked fine, it's good and it will be merged, be sure. But need some time for this. What about discuss? Ok, there is one thing in Gitment system what i saw about month ago. Look at this pull from 30 MAY 2017 and say me: why @imsun don't want to merge this pull?
For example, i don't wan't to use any client_secret from my Github just for use comments system, and this pull already add alternative:
As u can see, for now (without not merget pull) access token do post query on Another words: i don't want to do any post queries with access tokens from my Github accont with full access to static 3rd party site (https://gh-oauth.imsun.net) via http protocol. P.S. If u so want this function with this pull, u may ask @imsun - why he's not want to merge this pull from 30 may? |
@ivan-nginx OK, This PR(imsun/gitment#25) for Gitment is really great(Especially for that access tokens proxy and HTTPS support). I will try to test that and push @imsum to review. |
@dreampiggy yep. And that's why i'm waiting... |
It's not cool to press the button to delay loading. Can you make default settings? |
这么长时间了! |
冲突还没有合并? |
有什么我能做的么? |
@aimingoo u help if u try to adapt gitmint to this theme. |
Waiting for success! |
这两天趁着过节把这个theme的代码以及这个pull request的changes看了看。我倒觉得这个request的实现没什么问题,我在想是等这个merge之后再基于这个update提一个gitmint的pull呢,还是现在就独立地提一个。有点拿不定主意,但已经在开始改代码了。 另外,我注意到在这个theme中有三处可以集成comments的地方。但我仔细读了一下github issues api的文档,theme中有一处显示count的地方是无法实现的(就是index/list页上的comments count),因为github issues中取这个count值的代价特别高,强行去做的话,这个index/list页的性能会特别差。 综上,gitmint可能会比现在这个commit多出三个特性:
|
@aimingoo im not really farmilar with gitmint and i have another pr to work on. so i think its a good idea that you do this job. |
@LEAFERx good! I'll try this now! @ivan-nginx I cant write long english messages because my english is poor... but i'll try the new work base LEAFERx's idea~ |
@aimingoo my English is poor to, i'm not was in US or EU, но я же не пишу на Русском, ибо кто меня поймёт без переводчика? Just write with simple words what all will understand, it's easy. Ok, i'll be glad (not only i, of course) if your guys integrate Gitmint into NexT. I just don't want to make possible vulnerability for users with use Gitment (i talked about it above), so, only your Gitmint fork may give almost full the freedom of choice. |
DONE. #1919 |
增加gitment集成
并实现了按钮延迟加载
如@ehlxr在Issue#1604所述部分功能