1
0
Fork 0
forgejo/modules
Lunny Xiao 5a438ee3c0
Move all mail related codes from models to services/mailer (#7200)
* move all mail related codes from models to modules/mailer

* fix lint

* use DBContext instead Engine

* use WithContext not WithEngine

* Use DBContext instead of Engine

* don't use defer when sess.Close()

* move DBContext to context.go and add some methods

* move mailer from modules/ to services

* fix lint

* fix tests

* fix fmt

* add gitea copyright

* fix tests

* don't expose db functions

* make code clear

* add DefaultDBContext

* fix build

* fix bug
2019-09-24 13:02:49 +08:00
..
auth Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
avatar Improve handling of non-square avatars (#7025) 2019-05-25 14:46:14 +03:00
base Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
charset Fix utf8 tests (#8192) 2019-09-21 13:01:34 -04:00
context Do only show teams access for organization repositories, not for personal repositories (#8265) 2019-09-24 09:30:40 +08:00
cron Move status table to cron package (#7370) 2019-07-15 20:13:03 -04:00
generate Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
git Adds side-by-side diff for images (#6784) 2019-09-16 17:03:22 +08:00
gzip Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
highlight Add a lot of extension to language mappings for syntax highlights (#7741) 2019-08-05 23:48:31 +08:00
httplib Add golangci (#6418) 2019-06-12 15:41:28 -04:00
indexer Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
lfs Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
log Fix data race (#8204) 2019-09-17 12:39:37 +03:00
markup Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
metrics Prometheus endpoint (#5256) 2018-11-04 22:20:00 -05:00
migrations fix bug when migrating a private repository (#7917) 2019-08-20 21:21:07 +01:00
minwinsvc Fix Git hooks not being executed on Windows when running as a service (#1149) 2017-03-09 09:27:43 +08:00
notification Move all mail related codes from models to services/mailer (#7200) 2019-09-24 13:02:49 +08:00
options Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pprof Add golangci (#6418) 2019-06-12 15:41:28 -04:00
private Attempt to fix hook problem (#7854) 2019-08-14 12:25:05 +03:00
process Fix run command race (#1470) 2017-11-13 22:51:45 +08:00
public Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
pull Refuse merge until all required status checks success (#7481) 2019-09-18 08:39:45 +03:00
recaptcha Allow Recaptcha service url to be configured (#6820) 2019-05-02 16:09:39 +03:00
repofiles Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
search Global code search support (#3664) 2018-03-16 22:04:33 +08:00
secret Integrate OAuth2 Provider (#5378) 2019-03-08 11:42:50 -05:00
session Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
ssh Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
structs Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
sync Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
templates Make link last commit massages in repository home page and commit tables (#8006) 2019-09-10 12:03:30 +03:00
test Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
timeutil Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
upload Fix upload file type check (#7890) 2019-08-17 13:10:17 +03:00
user Add golangci (#6418) 2019-06-12 15:41:28 -04:00
util Display ui time with customize time location (#7792) 2019-08-15 22:46:21 +08:00
validation Implement webhook branch filter (#7791) 2019-09-09 08:48:21 +03:00