1. 04 Jan, 2019 2 commits
  2. 31 Dec, 2018 1 commit
    • Harshit Bansal's avatar
      Fix wrong text getting saved on editing second comment on an issue. (#5608) (#5615) · 28cc3bd6
      Harshit Bansal authored
      * comments: Fix an incorrent DOM element selection.
      
      This commit fixes a bug that was causing text from previously edited
      comment to get saved when two comments were edited one after other.
      Text area with id of `#content` isn't unique on the page but it was
      being treated as unique by the event handling code.
      
      Fixes: #5581.
      
      * templates: Remove `id` from textarea in commit edit form.
      
      An element is assigned an `id` only if it is unique for the whole page
      but in this case there can be multiple textarea so it should have one.
      28cc3bd6
  3. 21 Dec, 2018 3 commits
  4. 19 Dec, 2018 1 commit
  5. 13 Dec, 2018 1 commit
  6. 12 Dec, 2018 2 commits
  7. 11 Dec, 2018 3 commits
  8. 10 Dec, 2018 1 commit
  9. 09 Dec, 2018 2 commits
  10. 02 Dec, 2018 3 commits
  11. 30 Nov, 2018 1 commit
  12. 26 Nov, 2018 1 commit
  13. 24 Nov, 2018 1 commit
  14. 23 Nov, 2018 1 commit
  15. 21 Nov, 2018 1 commit
  16. 18 Nov, 2018 1 commit
    • Florian Eitel's avatar
      Migration fixes 5318 1.6 backport (#5355) · ffc0c7f6
      Florian Eitel authored
      * Remove field from migration to support upgrades from older version
      
      That will ensure the field does not get queried in the Select if it does
      not exist yet:
      
      ```
      [I] [SQL] SELECT "id", "repo_id", "index", "poster_id", "name", "content", "milestone_id", "priority", "assignee_id", "is_closed", "is_pull", "num_comments", "ref", "deadline_unix", "created_unix", "updated_unix
      [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: column "ref" does not exist
      ```
      
      see #5318
      
      * Skip remove stale watcher migration if not required
      
      Otherwise the migration will fail if executed from a older database
      version without multiple IssueWatch feature.
      
      ```
      2018/11/11 23:51:14 [I] [SQL] SELECT DISTINCT "issue_watch"."user_id", "issue"."repo_id" FROM "issue_watch" INNER JOIN issue ON issue_watch.issue_id = issue.id WHERE (issue_watch.is_watching = $1) LIMIT 50 []int
      [...itea/routers/init.go:60 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: pq: relation "issue_watch" does not exist
      ```
      
      see #5318
      ffc0c7f6
  17. 11 Nov, 2018 1 commit
  18. 10 Nov, 2018 1 commit
  19. 09 Nov, 2018 2 commits
  20. 08 Nov, 2018 2 commits
  21. 07 Nov, 2018 2 commits
  22. 04 Nov, 2018 2 commits
  23. 03 Nov, 2018 1 commit
  24. 01 Nov, 2018 2 commits
  25. 31 Oct, 2018 1 commit
  26. 30 Oct, 2018 1 commit