forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
* upstream/main: Add Mermaid copy button, avoid unnecessary tooltip hide (go-gitea#22225) [skip ci] Updated licenses and gitignores Improve testing for pgsql empty repository (go-gitea#22223) JS refactors (go-gitea#22227) Check primary keys for all tables and drop ForeignReference (go-gitea#21721)
- Loading branch information
Showing
58 changed files
with
220 additions
and
302 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright 2022 The Gitea Authors. All rights reserved. | ||
// SPDX-License-Identifier: MIT | ||
|
||
package v1_19 //nolint | ||
|
||
import ( | ||
"xorm.io/xorm" | ||
) | ||
|
||
func DropForeignReferenceTable(x *xorm.Engine) error { | ||
// Drop the table introduced in `v211`, it's considered badly designed and doesn't look like to be used. | ||
// See: https://github.com/go-gitea/gitea/issues/21086#issuecomment-1318217453 | ||
type ForeignReference struct{} | ||
return x.DropTables(new(ForeignReference)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(c) Copyright 1989-1992, Bitstream Inc., Cambridge, MA. | ||
|
||
You are hereby granted permission under all Bitstream propriety rights | ||
to use, copy, modify, sublicense, sell, and redistribute the 4 Bitstream | ||
Charter (r) Type 1 outline fonts and the 4 Courier Type 1 outline fonts for | ||
any purpose and without restriction; provided, that this notice is left | ||
intact on all copies of such fonts and that Bitstream's trademark is acknowledged | ||
as shown below on all unmodified copies of the 4 Charter Type 1 fonts. | ||
BITSTREAM CHARTER is a registered trademark of Bitstream Inc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
LICENSE | ||
|
||
This code repository predates the concept of Open Source, and predates most licenses along such lines. As such, the official license truly is: | ||
|
||
EULA: The Graphics Gems code is copyright-protected. In other words, you cannot claim the text of the code as your own and resell it. Using the code is permitted in any program, product, or library, non-commercial or commercial. Giving credit is not required, though is a nice gesture. The code comes as-is, and if there are any flaws or problems with any Gems code, nobody involved with Gems - authors, editors, publishers, or webmasters - are to be held responsible. Basically, don't be a jerk, and remember that anything free comes with no guarantee. |
Oops, something went wrong.