Commit graph

101 commits

Author SHA1 Message Date
L3D
39e94854ed update gitea from 1.9.0 to 1.9.3
Update gitea:
https://github.com/go-gitea/gitea/releases

 What changed:

> 1.9.3
    BUGFIXES
        Fix go get from a private repository with Go 1.13 (#8100)
        Strict name matching for Repository.GetTagID() (#8082)
        Avoid ambiguity of branch/directory names for the git-diff-tree command (#8070)
        Add change title notification for issues (#8064)
        Run CORS handler first for /api routes (#7967) (#8053)
        Evaluate emojis in commit messages in list view (#8044)
        Fix failed to synchronize tags to releases for repository (#7990) (#7994)
        Fix adding default Telegram webhook (#7972) (#7992)
        Abort synchronization from LDAP source if there is some error (#7965)
        Fix deformed emoji in commit message (#8071)
    ENHANCEMENT
        Keep blame view buttons sequence consistent with normal view when viewing a file (#8007) (#8009)
> 1.9.2


    BUGFIXES
        Fix wrong sender when send slack webhook (#7918) (#7924)
        Upload support text/plain; charset=utf8 (#7899)
        Lfs/lock: round locked_at timestamp to second (#7872) (#7875)
        Fix non existent milestone with 500 error (#7867) (#7873)
    SECURITY
        Fix No PGP signature on 1.9.1 tag (#7874)
        Release built with go 1.12.9 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!msg/golang-announce/oeMaeUnkvVE/a49yvTLqAAAJ
    ENHANCEMENT
        Fix pull creation with empty changes (#7920) (#7926)
    BUILD
        Drone/docker: prepare multi-arch release + provide arm64 image (#7571) (#7884)

> 1.9.1


    BREAKING
        Add pagination for admin api get orgs and fix only list public orgs bug (#7742) (#7752)
    SECURITY
        Be more strict with git arguments (#7715) (#7762)
        Release built with go 1.12.8 to fix security fixes in golang std lib, ref: https://groups.google.com/forum/#!topic/golang-nuts/fCQWxqxP8aA
    BUGFIXES
        Fix local runs of ssh-requiring integration tests (#7855) (#7857)
        Fix hook problem (#7856) (#7754)
        Use .ExpiredUnix.IsZero to display green color of forever valid gpg key (#7850) (#7846)
        Do not fetch all refs (#7797) (#7837)
        Fix duplicate call of webhook (#7824) (#7821)
        Enable switching to a different source branch when PR already exists (#7823)
        Rewrite existing repo units if setting is not included in api body (#7811)
        Prevent Commit Status and Message From Overflowing On Branch Page (#7800) (#7808)
        API: fix multiple bugs with statuses endpoints (Backport #7785) (#7807)
        Fix Slack webhook fork message (1.9 release backport) (#7783)
        Fix approvals counting (#7757) (#7777)
        Fix rename failed when rewrite public keys (#7761) (#7769)
        Fix dropTableColumns sqlite implementation (#7710) (#7765)
        Fix repo_index_status lingering when deleting a repository (#7738)
        Fix milestone completness calculation when migrating (#7725) (#7732)
        Fixes indexed repos keeping outdated indexes when files grow too large (#7731)
        Skip non-regular files (e.g. submodules) on repo indexing (#7717)
        Improve branches list performance and fix protected branch icon when no-login (#7695) (#7704)
        Correct wrong datetime format for git (#7689) (#7690)
2019-09-24 09:35:33 +01:00
Thomas Maurice
0722d97e7f Updates gitea to 1.9.0 2019-08-01 19:58:44 +01:00
dependabot[bot]
e5bb290b98 Bump ansible from 2.7.9 to 2.7.12
Bumps [ansible](https://github.com/ansible/community) from 2.7.9 to 2.7.12.
- [Release notes](https://github.com/ansible/community/releases)
- [Commits](https://github.com/ansible/community/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-01 14:50:22 +01:00
L3D
afbd034f50 Enable git lfs options
With this change it is possible to enable the git-lfs server.
And to configure where data are stored.
2019-07-12 21:16:01 +01:00
L3D
736e33bb37 Update Version to v1.8.3
A New Version of gitea is available:
https://github.com/go-gitea/gitea/releases/tag/v1.8.3
2019-07-12 21:15:23 +01:00
Bèr Kessels
b574c9ae36 Add new vars to README 2019-06-16 19:19:24 +01:00
Bèr Kessels
fe4db0bb07 Add username and password for smpt servers. Defaulting to blank 2019-06-16 19:19:24 +01:00
Thomas Maurice
b15b242dde Update gitea to v1.8.2 2019-06-03 22:02:47 +02:00
L3D
9c536d77a9 Simplify configuration file
I kicked out some config values, that are not controlled via ansible variables.
Maybe it makes more sense if we only customize the values, we are really changing. *(like database, domain and other behavior...)*

I had the problem, that after upgrading gitea it won't run with the config provided by this ansible role. But the default config worked fine.

I assume that the official gitea chenged and updated some options.
Some options in the old config file of this role did not appear in the [official cheat sheet](https://docs.gitea.io/en-us/config-cheat-sheet/).

@thomas-maurice: What did you think about it?
Better track every value and update it in our config.

Or clean up the config and only keep the parameter we really need and let gitea set everything else with their default values?
2019-06-02 23:04:10 +02:00
L3D
5e971278c3 Fixing deprecation warning
ANsible comes with the error:
```bash
[DEPRECATION WARNING]: evaluating gitea_fail2ban_enabled as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle.. This
feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
```

appending ``|bool`` after a boolean variable will resolve the issue.
2019-05-23 21:19:21 +01:00
Thomas Maurice
0ccf9b334d Removed 'yolo wip do not use' disclaimer as this now stable enough to be used by people that are not me 2019-05-12 11:44:42 +01:00
Thomas Maurice
6b682fdf9e Upgrade the travis requirements 2019-05-12 11:43:00 +01:00
Thomas Maurice
ccec85feab Upgrade the installed version of gitea to 1.8.1 2019-05-12 11:40:14 +01:00
Thomas Maurice
37b1ff8837 #17 fix the quality score of the module 2019-04-30 19:45:20 +01:00
Trysdyn Black
6cbbbfdf0e Switch gitea_version_check to true by default
Pursuant to the conversation in https://github.com/thomas-maurice/ansible-role-gitea/pull/16
2019-04-30 08:55:21 +01:00
Trysdyn Black
3226a76d94 Add toggle to do a version check before download
Old behavior is to download the binary of `gitea_version` every run,
then checksum it against the currently installed version to see if it needs
to be copied over.

New behavior is to attempt to extract the current running version of gitea
and only initiate the old behavior if the running version != `gitea_version`.

Default is old behavior due to the major logic change involved.
2019-04-30 08:55:21 +01:00
Lilian Roller
609a47de72 Update gitea and create shell variable
The current gitea version is updated to 1.7.5.

And now you are able to customize the shell of your gitea user.
[Issue 14](https://github.com/thomas-maurice/ansible-role-gitea/issues/14)
2019-04-09 13:40:38 +01:00
L3D
b812f562b0 update current stable version of gitea
Based on https://github.com/go-gitea/gitea/releases the current stable version of gitea is ``1.7.4``.

Thank you realy much @thomas-maurice and @madddi for updating this role.
2019-03-25 19:26:05 +00:00
Thomas Maurice
9994071a3d galaxy does not like tags with dashes 2019-03-16 12:35:28 +00:00
Thomas Maurice
221345c780 add galaxy notification 2019-03-16 12:32:44 +00:00
Thomas Maurice
24962d8df3 lint 2019-03-16 12:11:02 +00:00
Thomas Maurice
335e71ef17 let the travis die and retry fun start 2019-03-16 12:11:02 +00:00
Thomas Maurice
168be1f6bb Bunch of improvements around testing and ansible galaxy
* added a license info
 * added galaxy tags/platforms
 * added travis test support
 * testing the playbook using molecule
2019-03-16 12:11:02 +00:00
Mathias Merscher
a0804ab28b update README with new default variables 2019-03-16 10:07:04 +00:00
Mathias Merscher
5e2f160441 remove trailing whitespace 2019-03-16 10:07:04 +00:00
Mathias Merscher
b2a6429823 adds template variable for SHOW_REGISTRATION_BUTTON 2019-03-16 10:07:04 +00:00
Mathias Merscher
8837b4522b fix indexer config, keep old openid config 2019-03-16 10:07:04 +00:00
Mathias Merscher
1997360f71 adds template variables for oauth config 2019-03-16 10:07:04 +00:00
Mathias Merscher
d339c620e9 adds template variable for IS_TLS_ENABLED 2019-03-16 10:07:04 +00:00
Mathias Merscher
fcae409935 adds all new config parameters from app.ini.sample
Version: e777c6bdc6/custom/conf/app.ini.sample
2019-03-16 10:07:04 +00:00
Mathias Merscher
48cf9f8fcb update config ini comments 2019-03-16 10:07:04 +00:00
Mathias Merscher
062325f27e adds new ini parameter DEFAULT_PRIVATE 2019-03-16 10:07:04 +00:00
Mathias Merscher
ac01b1e467 add new ini parameter INTERNAL_TOKEN 2019-03-16 10:07:04 +00:00
Mathias Merscher
c69547f2b2 clarify fail2ban requirements 2019-03-15 17:05:09 +00:00
Mathias Merscher
559efa281f more fail2ban config options 2019-03-15 17:05:09 +00:00
Mathias Merscher
41797ebdfd rename gitea_install_fail2ban_config to gitea_fail2ban_enabled 2019-03-15 17:05:09 +00:00
Mathias Merscher
a9414f6593 consistent task name capitalization 2019-03-15 17:05:09 +00:00
Mathias Merscher
11374216ac adds support for optional deployment of fail2ban jail 2019-03-15 17:05:09 +00:00
Mathias Merscher
de4e7fa6e8 bump default version to 1.7.3 2019-03-15 17:03:52 +00:00
Mathias Merscher
c5e01c68cd update README 2019-03-09 13:38:43 +00:00
Mathias Merscher
af20311115 adds mailer config parameters 2019-03-09 13:38:43 +00:00
Mathias Merscher
fb63b41825 fix gitea_db_passord typo 2019-03-09 13:37:48 +00:00
h0chi
dc87ede53f Update main.yml 2019-02-22 17:39:12 +00:00
h0chi
6153ad8c54 Update gitea.ini.j2 2019-02-22 17:39:12 +00:00
Thomas Maurice
397c4c938e commit suggested change
Co-Authored-By: ikarulus <github.ikarulus@zer.one>
2019-01-18 18:11:15 +00:00
ikarulus
2b87af01a5 meta inf for galaxy compat 2019-01-18 18:11:15 +00:00
ikarulus
ebddb8b7d4 add version var 2019-01-10 21:45:34 +00:00
Thomas Maurice
d3eba41cd5
Merge pull request #1 from max-wittig/patch-1
docs(readme): fix duplicate gitea_ssh_port in example
2018-07-12 11:26:18 +01:00
Max Wittig
835d600c69
docs(readme): fix duplicate gitea_ssh_port in example
this also fixes the markdown not showing up correctly
2018-05-31 20:55:54 +02:00
Thomas Maurice
9d685ab7a5
Add the support for mysql and postgres databases and documentation 2017-01-11 08:01:37 +01:00