Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve install code to avoid low-level mistakes. #17779

Merged
merged 47 commits into from
Dec 1, 2021

Commits on Nov 23, 2021

  1. Improve install code to avoid low-level mistakes.

    If a user tries to do a re-install in a Gitea database, they gets a warning and double check.
    When Gitea runs, it never create empty app.ini automatically.
    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    c5ff560 View commit details
    Browse the repository at this point in the history
  2. Check app.ini in cmd

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    2bd7628 View commit details
    Browse the repository at this point in the history
  3. Fix setting i18n order

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    fc2404a View commit details
    Browse the repository at this point in the history
  4. fix

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    384a32a View commit details
    Browse the repository at this point in the history
  5. fix

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    86fec99 View commit details
    Browse the repository at this point in the history
  6. fix

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    2721c0c View commit details
    Browse the repository at this point in the history
  7. fix typo

    wxiaoguang committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    0bf4489 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Update models/db/engine.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    61e17ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ae647a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c9564a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    430c48e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7bc1792 View commit details
    Browse the repository at this point in the history
  6. fix rename

    wxiaoguang committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    056989d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bd8ff1e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0f6df8d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4b1ae31 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2021

  1. Configuration menu
    Copy the full SHA
    44d8c8e View commit details
    Browse the repository at this point in the history
  2. Add logs

    wxiaoguang committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    a0a438d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce8846e View commit details
    Browse the repository at this point in the history
  4. fix log

    wxiaoguang committed Nov 25, 2021
    Configuration menu
    Copy the full SHA
    89c37b6 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. Configuration menu
    Copy the full SHA
    4378c90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15e7bab View commit details
    Browse the repository at this point in the history
  3. Adjust install page messages and appearances

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    61fb4d9 View commit details
    Browse the repository at this point in the history
  4. Add testing for empty app.ini on setting.NewContext and only allow we…

    …b.go to function with an empty app.ini
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    c1235fa View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2021

  1. Merge pull request #2 from zeripath/improve-install

    Adjust install page messages and add testing for empty app.ini
    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    edc5ed0 View commit details
    Browse the repository at this point in the history
  2. Improve setting.NewContext

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    f15d610 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f4a4ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fbaf635 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c75e9e7 View commit details
    Browse the repository at this point in the history
  6. fix lint

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    4fb54ff View commit details
    Browse the repository at this point in the history
  7. Fix NewContext call

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    bef7edd View commit details
    Browse the repository at this point in the history
  8. Fix unit test

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    7fe5264 View commit details
    Browse the repository at this point in the history
  9. fix unit test

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    1bcd824 View commit details
    Browse the repository at this point in the history
  10. Fix unit test

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    13eaef5 View commit details
    Browse the repository at this point in the history
  11. test

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    acda572 View commit details
    Browse the repository at this point in the history
  12. fix test

    wxiaoguang committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    47dded1 View commit details
    Browse the repository at this point in the history
  13. Update modules/setting/setting.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    007a7d4 View commit details
    Browse the repository at this point in the history
  14. Update modules/setting/directory.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    bc36dc5 View commit details
    Browse the repository at this point in the history
  15. Update modules/setting/directory.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    815d8f9 View commit details
    Browse the repository at this point in the history
  16. Update cmd/web.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    3c240c5 View commit details
    Browse the repository at this point in the history
  17. Update contrib/environment-to-ini/environment-to-ini.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    17b98f9 View commit details
    Browse the repository at this point in the history
  18. Update models/db/engine.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    cedb452 View commit details
    Browse the repository at this point in the history
  19. Update modules/private/internal.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    fc0b0d3 View commit details
    Browse the repository at this point in the history
  20. Update modules/setting/directory.go

    Co-authored-by: zeripath <art27@cantab.net>
    wxiaoguang and zeripath committed Nov 27, 2021
    Configuration menu
    Copy the full SHA
    d95d1db View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8dbbc10 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    eb6bb8e View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2021

  1. Configuration menu
    Copy the full SHA
    30965a6 View commit details
    Browse the repository at this point in the history