Commit Graph
17 Commits
Author SHA1 Message Date
John Olheiser 1199d6b34d More expansions in template repositories (#10021)
* Super expansion
* Explain which features are in 1.11 vs 1.12
* Move imports

Signed-off-by: jolheiser <[email protected]>
2020-01-28 13:57:15 +00:00
John Olheiser e8f747dca9 Update migration instructions (#9955)
Signed-off-by: jolheiser <[email protected]>
2020-01-24 14:23:38 +00:00
John Olheiser 3593c7630c Push to create repo (#8419)
* Refactor

Signed-off-by: jolheiser <[email protected]>

* Add push-create to SSH serv

Signed-off-by: jolheiser <[email protected]>

* Cannot push for another user unless admin

Signed-off-by: jolheiser <[email protected]>

* Get owner in case admin pushes for another user

Signed-off-by: jolheiser <[email protected]>

* Set new repo ID in result

Signed-off-by: jolheiser <[email protected]>

* Update to service and use new org perms

Signed-off-by: jolheiser <[email protected]>

* Move pushCreateRepo to services

Signed-off-by: jolheiser <[email protected]>

* Fix import order

Signed-off-by: jolheiser <[email protected]>

* Changes for @guillep2k

* Check owner (not user) in SSH
* Add basic tests for created repos (private, not empty)

Signed-off-by: jolheiser <[email protected]>
2019-12-15 10:49:52 +08:00
John Olheiserandguillep2k c56743eb23 Variable expansion in repository templates (#9163)
* Start expansion

Signed-off-by: jolheiser <[email protected]>

* _template rather than .template

Signed-off-by: jolheiser <[email protected]>

* Use ioutil

Signed-off-by: jolheiser <[email protected]>

* Add descriptions to mapping

* Start globbing

Signed-off-by: jolheiser <[email protected]>

* Tune globbing

Signed-off-by: jolheiser <[email protected]>

* Re-arrange imports

Signed-off-by: jolheiser <[email protected]>

* Don't expand git hooks

Signed-off-by: jolheiser <[email protected]>

* Add glob tests for .giteatemplate

Signed-off-by: jolheiser <[email protected]>

* Parse globs separately so they can be tested more easily

Signed-off-by: jolheiser <[email protected]>

* Change template location and add docs

Signed-off-by: jolheiser <[email protected]>

* nit

Signed-off-by: jolheiser <[email protected]>

* Update docs/content/doc/features/gitea-directory.md

Co-Authored-By: guillep2k <[email protected]>

* Update docs/content/doc/features/gitea-directory.md

Co-Authored-By: guillep2k <[email protected]>

* Add upper-lower case match

Signed-off-by: jolheiser <[email protected]>

* Nits

Signed-off-by: jolheiser <[email protected]>

* Update models/repo_generate.go

Co-Authored-By: guillep2k <[email protected]>
2019-11-30 01:54:47 -05:00
John Olheiser 73bcdd21e1 Add template repositories to comparison (#9101)
Signed-off-by: jolheiser <[email protected]>
2019-11-20 17:23:45 -05:00
John Olheiserandguillep2k f34e3fc9ce Implement documentation search (#8937)
* Implement documentation search

Signed-off-by: jolheiser <[email protected]>
Co-Authored-By: guillep2k <[email protected]>
2019-11-13 18:03:18 +00:00
John Olheiserandguillep2k 422ed5bcf1 Add password reset to FAQ (#8883)
* Add password reset to FAQ

Signed-off-by: jolheiser <[email protected]>

* Add links to email setup docs

Signed-off-by: jolheiser <[email protected]>

* Add en-us to email setup

Signed-off-by: jolheiser <[email protected]>

* Update docs/content/doc/help/faq.en-us.md

Co-Authored-By: guillep2k <[email protected]>

* Manually merge changes from @guillep2k and add small changes

Signed-off-by: jolheiser <[email protected]>
2019-11-08 14:44:18 -05:00
John Olheiser cdac1bfb5f Add migrate command to docs (#8842)
* Add migrate command to docs

Signed-off-by: jolheiser <[email protected]>

* Link to CLI

Signed-off-by: jolheiser <[email protected]>

* Clarify idempotence

Signed-off-by: jolheiser <[email protected]>

* Sneak in convert command

Signed-off-by: jolheiser <[email protected]>
2019-11-05 13:54:54 -05:00
John Olheiser 2c1de7de95 Remove unnecessary backslash (#8249) 2019-09-20 13:06:17 -04:00
John Olheiser f5c4a98f2c Add config option and shortcode for Gitea version (#7940)
Signed-off-by: jolheiser <[email protected]>
2019-08-23 09:55:06 +08:00
John Olheiser 0e786302b2 Change verbose flag in dump command to avoid colliding with global version flag (#6822)
* Change verbose flag to avoid colliding with version flag
* Update docs

Signed-off-by: jolheiser <[email protected]>
2019-05-01 21:36:09 +01:00
John Olheiser cb8e5bcbe1 Add FAQ for version downloads (#6742) 2019-04-24 14:44:58 -04:00
John Olheiser 97a69351a3 FAQ (#6524) 2019-04-12 22:46:52 -04:00
John Olheiser 24d9c9a7e5 Enabled emoji in Hugo (#6521)
Removed extra asterisks in Docker doc

Signed-off-by: jolheiser <[email protected]>
2019-04-05 18:01:38 +03:00
John Olheiser d0401f0f01 Third party docs (#6282) 2019-03-08 12:42:59 -05:00
John Olheiser cd612b59fa Doc updates for customization and installation. (#6176)
* Doc updates and changing default sqlite DB path

Signed-off-by: jolheiser <[email protected]>

* Update customizing locales and THEMES

Signed-off-by: jolheiser <[email protected]>

* Add link to templates directory

Signed-off-by: jolheiser <[email protected]>

* Add portion for final step of running Gitea

Signed-off-by: jolheiser <[email protected]>

* Add recommended to service file usage

Signed-off-by: jolheiser <[email protected]>

* Removed DB path change, moving to another PR
Updated doc sentence structure

Signed-off-by: jolheiser <[email protected]>

* Revert change to template wording

Signed-off-by: jolheiser <[email protected]>

* Move recommended run-type to top
2019-02-28 20:09:47 +08:00
John Olheiser 9139f3205d Makefile changes for Windows and easier development (#6103)
* Added Go Path and node_modules to PATH
* Uses npx now for generate-stylesheets
* Uses `go env GOPATH` to calculate adding GOPATH/bin to PATH
* Added note about installing Node 8.0+ to generate stylesheets
* Added preferred Node version to CONTRIBUTING.md
2019-02-20 19:56:40 +00:00