\r\n\n\n### Steps to reproduce\n\n.\n\n### Expected behavior\n\n_No response_\n\n### System Info\n\n```shell\n\"next-d126cf9e35\"\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]",[2021,2024],{"name":2022,"color":2023},"bug","d73a4a",{"name":2025,"color":2026},"ui","46DEA2",4677,"`tag` pipelines are missing avatar and commit title","2025-01-12T06:19:42Z","https://github.com/woodpecker-ci/woodpecker/issues/4677",0.81114537,{"description":2033,"labels":2034,"number":2036,"owner":1991,"repository":1992,"state":2037,"title":2038,"updated_at":2039,"url":2040,"score":2041},"### Component\n\nother\n\n### Describe the bug\n\nIn the Go client PipelineQueue expects an Activity list\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/woodpecker-go/woodpecker/client.go#L254\r\n\r\nBut GetPipelineQueue in the server returns a Feed list\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/server/store/datastore/feed.go#L42\r\n\r\nActivity and Feed does not match\r\n\r\nActivity\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/woodpecker-go/woodpecker/types.go#L143\r\n\r\nFeed\r\nhttps://github.com/woodpecker-ci/woodpecker/blob/c36b1cd6ff114c4662700771b778d73d784a8d13/server/model/feed.go#L19\r\n\r\nEither both server and go client should use the same file as model, or CI should ensure that they stay compatible.\n\n### System Info\n\n```shell\nnext\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[2035],{"name":2022,"color":2023},2679,"closed","Go client expects PipelineQueue to return Activity list, but it returns Feed list","2023-11-01T09:43:57Z","https://github.com/woodpecker-ci/woodpecker/issues/2679",0.7628752,{"description":2043,"labels":2044,"number":2046,"owner":1991,"repository":1992,"state":2037,"title":2047,"updated_at":2048,"url":2049,"score":2050},"### Component\n\nagent\n\n### Describe the bug\n\nBy default netrc credentials (i.e. git credentials) are not injected into builds unless\r\n\r\n- the repo is set to trusted (which can only be done by admins)\r\n- \"Only inject netrc credentials into trusted containers\" is unchecked\r\n\r\nHowever, the latter does not work as executing a \"git push\" back to the checked out repo does not work when **the option is unchecked**.\r\nIt only works if the repo is set to \"trusted\" - which cannot be enabled by a normal user.\r\n\r\nShowcasing this in an example repo is hard as normal users cannot open the settings of a repo.\r\nI've tested this multiple times in an example repo toggling different options on and off and running a simple `git push` at the end (after a dummy modification).\r\n\r\nAlso I think the current docs are wrong\r\n\r\n> Cloning pipeline step may need git credentials. They are injected via netrc. By default, they're only injected if this option is enabled, the repo is trusted ([see above](#trusted)) or the image is a trusted clone image. If you uncheck the option, git credentials will be injected into any container in clone step.\r\n\r\nI think it should read as:\r\n\r\n\"By default, they're only injected if this option is enabled **and** the repo is trusted - or if the \"inject\" option is unchecked.\"\r\n\r\nAlso \"git credentials will be injected into any container in clone step\" -> should probably be \"into any container **in addition** to the 'clone' step\". \n\n### System Info\n\n```shell\n`next-8629a418f8`\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[2045],{"name":2002,"color":2003},2583,"Injecting netrc credentials into non-trusted containers does not work","2024-11-10T15:42:36Z","https://github.com/woodpecker-ci/woodpecker/issues/2583",0.7853696,{"description":2052,"labels":2053,"number":2061,"owner":1991,"repository":1992,"state":2037,"title":2062,"updated_at":2063,"url":2064,"score":2065},"### Component\r\n\r\nserver\r\n\r\n### Describe the bug\r\n\r\nAfter upgrading the server from `v0.15` to `v1.0` woodpecker only returns 404 and the following entries are continuously written to the log output\r\n\r\n```\r\n{\r\n \"level\":\"fatal\",\r\n \"error\":\"error to create migrations table: pq: relation \\\"UQE_migrations_name\\\" already exists\",\r\n \"time\":\"2023-07-26T22:49:03Z\",\r\n \"message\":\"could not migrate datastore\"\r\n}\r\n```\r\n\r\nNo other changes were made besides the update of the docker image.\r\n\r\n### System Info\r\n\r\n```shell\r\n- docker-compose version - 1.29.2\r\n- Docker Engine version - 23.0.5\r\n\r\nContainers:\r\n- docker.io/woodpeckerci/woodpecker-server:v1.0\r\n- registry.developers.crunchydata.com/crunchydata/crunchy-postgres:ubi8-14.6-2 (PG-14)\r\n\r\nENV Settings:\r\n\r\nWOODPECKER_OPEN=True\r\nWOODPECKER_SERVER_ADDR=0.0.0.0:8000\r\nWOODPECKER_GRPC_ADDR=0.0.0.0:9000\r\nWOODPECKER_ADMIN=admin\r\nWOODPECKER_DOCKER_CONFIG=\r\nWOODPECKER_LOG_LEVEL=info\r\nWOODPECKER_HOST=https://woodpecker.my.tld\r\nWOODPECKER_SESSION_EXPIRES=24h\r\nWOODPECKER_AGENT_SECRET=xxxxxx\r\nWOODPECKER_DATABASE_DRIVER=postgres\r\nWOODPECKER_DATABASE_DATASOURCE=postgres://xxxxxx:xxxxxx@db/woodpecker?sslmode=disable&application_name=woodpecker\r\nWOODPECKER_GITEA=True\r\nWOODPECKER_GITEA_URL=https://forgejo.my.tld\r\nWOODPECKER_GITEA_CLIENT=xxxxxx\r\nWOODPECKER_GITEA_SECRET=xxxxxx\r\n```\r\n\r\n\r\n### Additional context\r\n\r\ntrace log:\r\n```\r\n{\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/server.go:82\",\r\n \"message\":\"LogLevel = trace\"\r\n}\r\n{\r\n \"level\":\"trace\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:232\",\r\n \"message\":\"Forge (gitea) opts: gitea.Opts{URL:\\\"https://forgejo.my.tld\\\", Client:\\\"xxxxxx\\\", Secret:\\\"xxxxxx\\\", SkipVerify:false}\"\r\n}\r\n{\r\n \"level\":\"trace\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:87\",\r\n \"message\":\"setup datastore: store.Opts{Driver:\\\"postgres\\\", Config:\\\"postgres://xxxxxx:xxxxxx@db/woodpecker?sslmode=disable&application_name=woodpecker\\\", XORM:store.XORM{Log:false, ShowSQL:false}}\"\r\n}\r\n{\r\n \"level\":\"fatal\",\r\n \"error\":\"error to create migrations table: pq: relation \\\"UQE_migrations_name\\\" already exists\",\r\n \"time\":\"2023-07-26T23:22:17Z\",\r\n \"caller\":\"/woodpecker/src/github.com/woodpecker-ci/woodpecker/cmd/server/setup.go:94\",\r\n \"message\":\"could not migrate datastore\"\r\n}\r\n```\r\n### Validations\r\n\r\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/master/CONTRIBUTING.md).\r\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\r\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\r\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\r\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).\r\n\r\n----\r\n*upstream issue: https://gitea.com/xorm/xorm/issues/2317*",[2054,2055,2058],{"name":2022,"color":2023},{"name":2056,"color":2057},"server","5D7A92",{"name":2059,"color":2060},"dependencies","006b75",2038,"pq: relation \"UQE_migrations_name\" already exists","2023-12-19T02:30:47Z","https://github.com/woodpecker-ci/woodpecker/issues/2038",0.790282,{"description":2067,"labels":2068,"number":2071,"owner":1991,"repository":1992,"state":2037,"title":2072,"updated_at":2073,"url":2074,"score":2075},"### Component\n\nserver\n\n### Describe the bug\n\nAfter migration form 0.15.11 After migration from 0.15.11 during start of server, we get this error:\r\n\r\n```\r\nwodpecker-server_1 | {\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"LogLevel = info\"}\r\nwoodpecker-server_1 | {\"level\":\"error\",\"error\":\"Migrating logs to log_entries is skipped, as we have 49180 entries to convert. Set 'WOODPECKER_MIGRATIONS_ALLOW_LONG' to 'true' to migrate anyway\",\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"migration task 'migrate-logs-to-log_entries' failed but is not required\"}\r\nwoodpecker-server_1 | {\"level\":\"info\",\"time\":\"2023-08-01T07:07:19Z\",\"message\":\"Starting Woodpecker server with version '1.0.0'\"}\r\n\r\n```\r\nSetting WOODPECKER_MIGRATIONS_ALLOW_LONG to true does nothing. \r\n\n\n### System Info\n\n```shell\n{\"source\":\"https://github.com/woodpecker-ci/woodpecker\",\"version\":\"1.0.0\"}\r\n\r\n\r\nversion: '3'\r\n\r\nservices:\r\n woodpeckerdb:\r\n image: postgres:14.5-alpine\r\n restart: always\r\n environment:\r\n POSTGRES_DB: xxxxx\r\n POSTGRES_USER: xxx\r\n POSTGRES_PASSWORD: xxx\r\n TZ: Europe/Zagreb\r\n volumes:\r\n - ./_data/db/postgres:/var/lib/postgresql/data\r\n \r\n woodpecker-server:\r\n #image: woodpeckerci/woodpecker-server:v0.15.11-alpine\r\n image: woodpeckerci/woodpecker-server:v1.0.0-alpine\r\n restart: always\r\n depends_on:\r\n - woodpeckerdb\r\n volumes:\r\n - ./_data/woodpecker:/var/lib/woodpecker\r\n environment:\r\n - WOODPECKER_OPEN=true\r\n - WOODPECKER_OPEN=true\r\n - WOODPECKER_HOST=https://ci.domain.local\r\n - WOODPECKER_AGENT_SECRET=xxxx\r\n - WOODPECKER_GITEA=true\r\n - WOODPECKER_GITEA_URL=https://gitea.domain.local\r\n - WOODPECKER_GITEA_CLIENT=085e34c6-a362-42d2-9344-d4ab5f556bb4\r\n - WOODPECKER_GITEA_SECRET=gto_53npywpjlwwp4planwetxa2ixqbjloh4rq37sl6dfwqqzlej547q\r\n - WOODPECKER_AUTHENTICATE_PUBLIC_REPOS=true\r\n - WOODPECKER_BACKEND_DOCKER_NETWORK=fronted_network\r\n - WOODPECKER_DATABASE_DRIVER=postgres\r\n - WOODPECKER_DATABASE_DATASOURCE=postgres://woodpecker:woodpecker@woodpeckerdb:5432/woodpeckerdb?sslmode=disable\r\n - WOODPECKER_MIGRATIONS_ALLOW_LONG=true\r\n```\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[2069,2070],{"name":2022,"color":2023},{"name":2056,"color":2057},2079,"After migration from 0.15.11 getting error \"error\":\"Migrating logs to log_entries is skipped, as we have 49180 entries to convert on app start","2023-08-21T07:29:47Z","https://github.com/woodpecker-ci/woodpecker/issues/2079",0.8044325,{"description":2077,"labels":2078,"number":2080,"owner":1991,"repository":1992,"state":2037,"title":2081,"updated_at":2082,"url":2083,"score":2084},"### Component\n\nserver, web-ui\n\n### Describe the bug\n\nJust open Chrome developer tools window and navigate to https://ci.woodpecker-ci.org.\r\n\r\nerror message\r\n`Refused to apply style from 'https://ci.woodpecker-ci.org/assets/custom.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.`\r\n\r\n\r\n\n\n### System Info\n\n```shell\n* Chrome latest version (as of 2023-10-01)\r\n* Woodpecker next-7d2bf54685\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Read the [Contributing Guidelines](https://github.com/woodpecker-ci/woodpecker/blob/main/CONTRIBUTING.md).\n- [X] Read the [docs](https://woodpecker-ci.org/docs/intro).\n- [X] Check that there isn't [already an issue](https://github.com/woodpecker-ci/woodpecker/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Checked that the bug isn't fixed in the `next` version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]\n- [X] Check that this is a concrete bug. For Q&A join our [Discord Chat Server](https://discord.gg/fcMQqSMXJy) or the [Matrix room](https://matrix.to/#/#woodpecker:matrix.org).",[2079],{"name":2022,"color":2023},2514,"when no custom css/js is defined, wrong mimetype causes Chrome to complain","2023-10-03T10:28:22Z","https://github.com/woodpecker-ci/woodpecker/issues/2514",0.80483675,{"description":2086,"labels":2087,"number":2094,"owner":1991,"repository":1992,"state":2037,"title":2095,"updated_at":2096,"url":2097,"score":2098},"Add a new page (https://woodpecker-ci.org/docs/development/plugins) where:\r\n- **all assumptions** are written down\r\n- how things are handled for the docker backend\r\n- ...",[2088,2091],{"name":2089,"color":2090},"documentation","7D625D",{"name":2092,"color":2093},"good first issue","76ea72",1033,"Add new page \"plugins\" into Development section","2023-12-30T20:24:10Z","https://github.com/woodpecker-ci/woodpecker/issues/1033",0.8073942,["Reactive",2100],{},["Set"],["ShallowReactive",2103],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"bCsk4uQBw07l1XDuD3E2nIQATtNDmHcYDPCZgIXR7J4":-1},"/woodpecker-ci/woodpecker/2495"]