gitea/routers/web
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.
2021-12-10 10:51:27 +08:00
..
admin Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
explore Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
feed Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
org Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
repo Clean legacy SimpleMDE code (#17926) 2021-12-10 10:51:27 +08:00
user Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
base.go Fix nil checking on typed interface (#17598) 2021-11-15 21:16:11 +08:00
goget.go Move repository model into models/repo (#17933) 2021-12-10 09:27:50 +08:00
home.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Support sorting for project board issuses (#17152) 2021-12-08 14:57:18 +08:00