Kyle D and GitHub
e522e774ca
Add merge arrow direction and update styling ( #28523 )
...
Close https://github.com/go-gitea/gitea/issues/28522
~Adds some [negative
margin](https://tailwindcss.com/docs/margin#using-negative-values )
helper css classes using tailwind's [prefix
syntax](https://tailwindcss.com/docs/configuration#prefix )~
### Before

### After

2024-01-05 17:38:56 +00:00
Kyle D and GitHub
54acf7b0d4
Normalize oauth email username ( #28561 )
2024-01-03 18:48:20 -06:00
Kyle D and GitHub
33439b733a
Disable query token param in integration tests ( #28592 )
...
Follow up to https://github.com/go-gitea/gitea/pull/28484 , this PR
enables the setting for integration tests and migrates a few additional
test queries.
2023-12-23 11:29:51 +08:00
Kyle D and GitHub
b8490d59de
Update docs for DISABLE_QUERY_AUTH_TOKEN ( #28485 )
...
As described
[here](https://github.com/go-gitea/gitea/pull/28390#issuecomment-1857553331 ).
2023-12-15 21:54:35 -05:00
Kyle D and GitHub
ac4ae35542
Remove max-width and add hide text overflow ( #27359 )
...
Closes https://github.com/go-gitea/gitea/issues/27358
2023-10-09 19:04:31 -04:00
Kyle D and GitHub
8220e50b56
Substitute variables in path names of template repos too ( #25294 )
...
### Summary
Extend the template variable substitution to replace file paths. This
can be helpful for setting up log files & directories that should match
the repository name.
### PR Changes
- Move files matching glob pattern when setting up repos from template
- For security, added ~escaping~ sanitization for cross-platform support
and to prevent directory traversal (thanks @silverwind for the
reference)
- Added unit testing for escaping function
- Fixed the integration tests for repo template generation by passing
the repo_template_id
- Updated the integration testfiles to add some variable substitution &
assert the outputs
I had to fix the existing repo template integration test and extend it
to add a check for variable substitutions.
Example:

2023-06-20 21:14:47 +00:00
Kyle D and GitHub
72eedfb915
Show file tree by default ( #25052 )
...
Feel free to close this if there isn't interest.
The tree view looks amazing, and all of our users are really enjoying it
(major kudos to developers!), but only IF I tell them it exists!
Essentially, the file tree view as it is effectively undiscoverable.
This PR changes the default state for the tree view to open, which
should significantly help with discoverability.
An alternative could be to reserve more horizontal space, as a typical
accordion panel would look (eg. VS Code), eg.

2023-06-02 23:39:01 +08:00
Kyle D and GitHub
a54c8b4ce9
Kd/fix redis unit test ( #24650 )
...
Replaces #24641
Currently, unit tests fail when run locally (unless users have minio
instance running). This PR only requires redis unit tests if in CI.
- Only run redis unit tests when `CI` env variable is set
- Add minio as a service in unit tests actions
2023-05-11 10:09:37 +08:00
Kyle D and GitHub
09dd4b42c7
Temporarily disable PATs until next release ( #24527 )
...
This might be a bit contentious, but I think we should try to limit the
impact of deprecating scoped PATs with the rewrite proposed here we're
working on for v1.20: https://github.com/go-gitea/gitea/issues/24501
We should have a PR opened shortly to re-scope the routes.
2023-05-05 11:41:44 -04:00
2b3f12f6fd
Use beforeCommit instead of baseCommit ( #22949 )
...
Replaces: https://github.com/go-gitea/gitea/pull/22947
Fixes https://github.com/go-gitea/gitea/issues/22946
Probably related to https://github.com/go-gitea/gitea/issues/19530
Basically, many of the diffs were broken because they were comparing to
the base commit, where a 3-dot diff should be comparing to the [last
common
ancestor](https://matthew-brett.github.io/pydagogue/git_diff_dots.html ).
This should have an integration test so that we don’t run into this
issue again.
---------
Co-authored-by: Jonathan Tran <jonnytran@gmail.com >
2023-02-20 11:56:07 +08:00
Kyle D and GitHub
f0159c3e8a
Add deprecated warning for DISABLE_GRAVATAR and ENABLE_FEDERATED_AVATAR ( #22318 )
2023-01-03 07:54:27 +08:00
Kyle D and GitHub
7bb12d7efa
Bump playwright to 1.26.1 ( #21357 )
2022-10-08 16:54:34 +08:00
Kyle D
7006d8297d
[skip ci] Updated translations via Crowdin
2022-09-07 00:20:58 +00:00
Kyle D and GitHub
6361b48b21
Bump playwright test image to match version in package.json ( #21097 )
...
Bump the playwright test image to match version in package.json (so it
doesn't re-download browsers setup)
2022-09-07 00:00:34 +01:00
Kyle D and GitHub
c8ded77680
Kd/ci playwright go test ( #20123 )
...
* Add initial playwright config
* Simplify Makefile
* Simplify Makefile
* Use correct config files
* Update playwright settings
* Fix package-lock file
* Don't use test logger for e2e tests
* fix frontend lint
* Allow passing TEST_LOGGER variable
* Init postgres database
* use standard gitea env variables
* Update playwright
* update drone
* Move empty env var to commands
* Cleanup
* Move integrations to subfolder
* tests integrations to tests integraton
* Run e2e tests with go test
* Fix linting
* install CI deps
* Add files to ESlint
* Fix drone typo
* Don't log to console in CI
* Use go test http server
* Add build step before tests
* Move shared init function to common package
* fix drone
* Clean up tests
* Fix linting
* Better mocking for page + version string
* Cleanup test generation
* Remove dependency on gitea binary
* Fix linting
* add initial support for running specific tests
* Add ACCEPT_VISUAL variable
* don't require git-lfs
* Add initial documentation
* Review feedback
* Add logged in session test
* Attempt fixing drone race
* Cleanup and bump version
* Bump deps
* Review feedback
* simplify installation
* Fix ci
* Update install docs
2022-09-02 15:18:23 -04:00
Kyle D and GitHub
97bfabc745
Use new config options ( #20125 )
2022-06-24 16:38:19 -04:00
Kyle D and GitHub
8a3cd58463
Remove depricated queue indexer usage ( #20124 )
2022-06-24 15:04:30 -04:00
Kyle D and GitHub
f7085f718b
Set max text height to prevent overflow ( #18862 )
...
Sets a max height for review text boxes to prevent a very annoying bug where users cannot access the "submit" button.
Before:

After:

Interestingly, I don't see this bug on Firefox.
2022-02-23 20:17:14 +00:00
Kyle D and GitHub
a51d2114c7
quote MAKE to prevent path expansion with space error ( #18622 )
...
Pretty minor change to prevent error when `$(MAKE)` path is expanded with a space in the path.
```bash
$ TAGS="bindata sqlite sqlite_unlock_notify" make build
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make -v | head -n 1'
```
I believe Program Files (x86) is the default path for GNU make on windows
2022-02-05 18:31:57 +00:00
Kyle D and GitHub
2a998048ef
Remove New PR button in PRs ( #15998 )
2021-05-29 22:00:02 +08:00
a5d8f58341
Update queue workers for v1.15 ( #15999 )
...
* Update queue workers for v1.15
* update app.example.ini
* update re queue path
Signed-off-by: Andrew Thornton <art27@cantab.net >
Co-authored-by: Andrew Thornton <art27@cantab.net >
2021-05-28 13:33:52 -04:00
Kyle D and GitHub
c61b460038
Fix extra curly brace breaking release compare ( #15988 )
2021-05-26 21:07:39 -04:00
Kyle D and GitHub
fda2e4549f
Move tooltip down to allow selection of Remove File on error ( #15672 )
2021-05-01 17:33:21 -04:00
Kyle D and GitHub
9b8ffa1c7a
Output node min version variable ( #15562 )
2021-04-21 14:15:18 +08:00
Kyle D and GitHub
f44543a1bb
Disable Stars config option ( #14653 )
...
* Add config option to disable stars
* Replace "stars" with watched in user profile
* Add documentation
2021-04-15 18:53:57 +02:00
Kyle D and GitHub
e10d028b03
Check if stopwatch element empty ( #15278 )
2021-04-05 18:45:01 +02:00
Kyle D and GitHub
8d9f191195
Update docs for bad ini syntax in noreply ( #15226 )
2021-03-31 17:13:46 -04:00
Kyle D and GitHub
df891dc59f
Validate email in oauth registration form ( #15014 )
2021-03-17 04:54:02 +01:00
Kyle D and GitHub
e475ccfe09
Add kdumontnu to MAINTAINERS ( #14964 )
2021-03-11 23:25:07 +01:00
Kyle D and GitHub
61f347e349
Add environment-to-ini to docker image ( #14762 )
...
* Add environment-to-app.ini routine
* Call environment-to-ini in docker setup scripts
* Automatically convert section vars to lower case to match documentation
* Remove git patch instructions
* Add env variable documentation to Install Docker
2021-02-23 20:21:44 +01:00
Kyle D and GitHub
a50ca28355
Only for direct descendants of items ( #14761 )
2021-02-21 16:22:15 -05:00
Kyle D and GitHub
d475d53c41
Fix svg spacing ( #14638 )
...
* Add right margin to icons in menu items
* Reduce padding on user profile submenu to fit in one line by default (english)
2021-02-14 17:49:22 +01:00
Kyle D and GitHub
4c6e029506
Use gitea.svg for public/img/gitea-gitea.svg instead of logo.svg ( #14479 )
2021-01-27 17:15:39 +01:00
Kyle D and GitHub
41e19b93a2
Align dropdown right ( #14406 )
2021-01-20 02:08:21 +01:00
Kyle D and GitHub
bfd0c47ef6
Kd/fix allow svg doctype ( #14344 )
...
* make svg regex case-insensitive & use strict word boundary
* allow doctype svg
* add doctype tests
* allow <!DOCTYPE svg> and <svg/>
2021-01-15 17:38:41 +08:00
Kyle D and GitHub
920c0bde2d
Kd/add bountysource ( #14323 )
...
* Add bountysource to Sponsors link
* Add badge to readme
2021-01-13 10:53:17 -05:00
Kyle D and GitHub
4092c044e0
Kd/fix team avatar aspect ratio ( #14200 )
...
* Add org member avatar to text data for fixed width
* set min-width to prevent single char lines
2021-01-03 22:20:05 +01:00
Kyle D and GitHub
0f99edf123
Prevent clipping input text in Chrome ( #14179 )
2021-01-01 14:05:40 -05:00
Kyle D and GitHub
c074e46292
Hide migration failed by default ( #14188 )
2020-12-30 11:04:30 +08:00
Kyle D and GitHub
4ef751215c
put ${CURDIR} in quotes to prevent make from splitting paths with spaces into separate strings ( #14056 )
2020-12-18 21:54:01 -05:00
Kyle D and GitHub
4cd94e3689
gitea png to logo ( #13974 )
...
* gitea png to logo.svg
* gitea safari svg to logo
* minify svgs
* Update english docs
* Update missing section on customizing logo
2020-12-18 20:17:27 -05:00