You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
0a9fcf63a4
Clean legacy SimpleMDE code ( #17926 )
...
Since we are using EasyMDE now, we do not need to keep the SimpleMDE code anymore.
This PR removes all legacy SimpleMDE code, and makes some related changes:
* `createCommentEasyMDE` can accept native DOM element, and it doesn't need `jQuery.data` to store EasyMDE editor object (as discussed about the frontend guideline).
* introduce `getAttachedEasyMDE` to get the attached EasyMDE editor object, it's easier to find all the usage of EasyMDE.
* rename variable names from `$simplemde` to `easyMDE`, the `$` was incorrect because it is a EasyMDE editor, not a jQuery object.
With this PR, it will be easier to do more refactoring or replacing EasyMDE with other editors.
3 years ago
..
activity.go
Move unit into models/unit/ ( #17576 )
3 years ago
attachment.go
Move attachment into models/repo/ ( #17650 )
3 years ago
blame.go
Move repository model into models/repo ( #17933 )
3 years ago
branch.go
Move repository model into models/repo ( #17933 )
3 years ago
commit.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
compare.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
download.go
Move repository model into models/repo ( #17933 )
3 years ago
editor.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
editor_test.go
Decouple unit test code from business code ( #17623 )
3 years ago
http.go
Move repository model into models/repo ( #17933 )
3 years ago
http_test.go
Fix http path bug ( #16117 )
3 years ago
issue.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
issue_content_history.go
Move unit into models/unit/ ( #17576 )
3 years ago
issue_dependency.go
Rename context.Query to context.Form ( #16562 )
3 years ago
issue_label.go
Use a standalone struct name for Organization ( #17632 )
3 years ago
issue_label_test.go
Decouple unit test, remove intermediate `unittestbridge` package ( #17662 )
3 years ago
issue_lock.go
Refactor routers directory ( #15800 )
3 years ago
issue_stopwatch.go
Multiple Escaping Improvements ( #17551 )
3 years ago
issue_test.go
A better go code formatter, and now `make fmt` can run in Windows ( #17684 )
3 years ago
issue_timetrack.go
Refactor routers directory ( #15800 )
3 years ago
issue_watch.go
Refactor routers directory ( #15800 )
3 years ago
lfs.go
Move repository model into models/repo ( #17933 )
3 years ago
main_test.go
Decouple unit test code from business code ( #17623 )
3 years ago
middlewares.go
Move user related model into models/user ( #17781 )
3 years ago
migrate.go
Move user related model into models/user ( #17781 )
3 years ago
milestone.go
Multiple Escaping Improvements ( #17551 )
3 years ago
projects.go
Support sorting for project board issuses ( #17152 )
3 years ago
projects_test.go
Decouple unit test code from business code ( #17623 )
3 years ago
pull.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
pull_review.go
Rename ctx.Form() to ctx.FormString() and move code into own file ( #16571 )
3 years ago
release.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
release_test.go
Decouple unit test, remove intermediate `unittestbridge` package ( #17662 )
3 years ago
repo.go
Move repository model into models/repo ( #17933 )
3 years ago
search.go
Related refactors to ctx.FormX functions ( #16567 )
3 years ago
setting.go
Move repository model into models/repo ( #17933 )
3 years ago
setting_protected_branch.go
Move repository model into models/repo ( #17933 )
3 years ago
settings_test.go
Move repository model into models/repo ( #17933 )
3 years ago
tag.go
Move repository model into models/repo ( #17933 )
3 years ago
topic.go
Related refactors to ctx.FormX functions ( #16567 )
3 years ago
view.go
Move repository model into models/repo ( #17933 )
3 years ago
webhook.go
Move accessmode into models/perm ( #17828 )
3 years ago
wiki.go
Clean legacy SimpleMDE code ( #17926 )
3 years ago
wiki_test.go
Move repository model into models/repo ( #17933 )
3 years ago