You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
3676fafdac
* Add API to get/edit wiki
* Add swagger docs, various improvements
* fmt
* Fix lint and rm comment
* Add page parameter
* Add pagination to pages
* Add tests
* fmt
* Update func names
* Update error handling
* Update type name
* Fix lint
* Don't delete Home
* Update func name
* Update routers/api/v1/repo/wiki.go
Co-authored-by: delvh <dev.lh@web.de>
* Remove unnecessary check
* Fix lint
* Use English strings
* Update integrations/api_wiki_test.go
Co-authored-by: delvh <dev.lh@web.de>
* Update func and test names
* Remove unsed check and avoid duplicated error reports
* Improve error handling
* Return after error
* Document 404 error
* Update swagger
* Fix lint
* Apply suggestions from code review
Co-authored-by: delvh <dev.lh@web.de>
* Document file encoding
* fmt
* Apply suggestions
* Use convert
* Fix integration test
* simplify permissions
* unify duplicate key Title/Name
* improve types & return UTC timestamps
* improve types pt.2
- add WikiPageMetaData.LastCommit
- add WikiPageMetaData.HTMLURL
- replace WikiPageMetaData.Updated with .LastCommit.Committer.Created
also delete convert.ToWikiPage(), as it received too many arguments and
only had one callsite anyway. sorry for bad advice earlier 🙃
* WikiPage.Content is base64 encoded
* simplify error handling in wikiContentsByName()
* update swagger
* fix & DRY findWikiRepoCommit() error handling
ListWikiPages() previously wrote error twice when repo wiki didn't exist
* rename Content -> ContentBase64
* Fix test
* Fix tests
* Update var name
* suburl -> sub_url
Co-authored-by: delvh <dev.lh@web.de>
Co-authored-by: Norwin <git@nroo.de>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
|
3 years ago | |
---|---|---|
.. | ||
activitypub | 3 years ago | |
analyze | 3 years ago | |
appstate | 3 years ago | |
auth | 3 years ago | |
avatar | 3 years ago | |
base | 3 years ago | |
cache | 3 years ago | |
charset | 3 years ago | |
context | 3 years ago | |
convert | 3 years ago | |
cron | 3 years ago | |
csv | 3 years ago | |
doctor | 3 years ago | |
emoji | 3 years ago | |
eventsource | 3 years ago | |
generate | 3 years ago | |
git | 3 years ago | |
gitgraph | 3 years ago | |
graceful | 3 years ago | |
hcaptcha | 4 years ago | |
highlight | 3 years ago | |
httpcache | 3 years ago | |
httplib | 3 years ago | |
indexer | 3 years ago | |
json | 3 years ago | |
lfs | 3 years ago | |
log | 3 years ago | |
markup | 3 years ago | |
matchlist | 4 years ago | |
metrics | 3 years ago | |
migrations | 3 years ago | |
nosql | 3 years ago | |
notification | 3 years ago | |
options | 3 years ago | |
password | 3 years ago | |
pprof | 3 years ago | |
private | 3 years ago | |
process | 3 years ago | |
proxy | 3 years ago | |
public | 3 years ago | |
queue | 3 years ago | |
recaptcha | 3 years ago | |
references | 3 years ago | |
repofiles | 3 years ago | |
repository | 3 years ago | |
secret | 3 years ago | |
session | 3 years ago | |
setting | 3 years ago | |
ssh | 3 years ago | |
storage | 3 years ago | |
structs | 3 years ago | |
svg | 3 years ago | |
sync | 5 years ago | |
task | 3 years ago | |
templates | 3 years ago | |
test | 3 years ago | |
timeutil | 3 years ago | |
translation | 3 years ago | |
typesniffer | 3 years ago | |
updatechecker | 3 years ago | |
upload | 4 years ago | |
uri | 4 years ago | |
user | 4 years ago | |
util | 3 years ago | |
validation | 3 years ago | |
web | 3 years ago |