Skip to content

Commit

Permalink
last version of v12
Browse files Browse the repository at this point in the history
  • Loading branch information
kataras committed Apr 24, 2024
2 parents 55357a1 + 4117f3b commit 08a852e
Show file tree
Hide file tree
Showing 1,579 changed files with 92,879 additions and 109,111 deletions.
16 changes: 16 additions & 0 deletions .deepsource.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version = 1

test_patterns = ["**/*_test.go"]

exclude_patterns = [
"_examples/**",
"_benchmarks/**",
".github/**"
]

[[analyzers]]
name = "go"
enabled = true

[analyzers.meta]
import_paths = ["github.com/kataras/iris/v12"]
7 changes: 4 additions & 3 deletions .fossa.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
version: 2
version: 3
cli:
server: https://app.fossa.com
fetcher: custom
project: https://github.com/kataras/iris.git
fetcher: git
package: github.com/kataras/iris
project: github.com/kataras/iris
analyze:
modules:
- name: iris
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Examples for the Iris project can be found at
<https://github.com/kataras/iris/tree/master/_examples>.
<https://github.com/kataras/iris/tree/main/_examples>.

Documentation for the Iris project can be found at
<https://godoc.org/github.com/kataras/iris>.
<https://www.iris-go.com/docs>.

Love iris? Please consider supporting the project:
👉 https://iris-go.com/donate

Care to be part of a larger community? Fill our user experience form:
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02
👉 https://goo.gl/forms/lnRbVgA6ICTkPyk02
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,16 @@ If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. ubuntu, windows]

**iris.Version**
- e.g. v12.2.11

Please make sure the bug is reproducible over the `main` branch:

```sh
$ cd PROJECT
$ go get -u github.com/kataras/iris/v12@latest
$ go run .
```

**Additional context**
Add any other context about the problem here.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# We'd love to see more contributions

Read how you can [contribute to the project](https://github.com/kataras/iris/blob/master/CONTRIBUTING.md).
Read how you can [contribute to the project](https://github.com/kataras/iris/blob/main/CONTRIBUTING.md).

> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected.
> Please attach an [issue](https://github.com/kataras/iris/issues) link which your PR solves otherwise your work may be rejected.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
13 changes: 13 additions & 0 deletions .github/scripts/setup_examples_test.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

for f in ../../_examples/*; do
if [ -d "$f" ]; then
# Will not run if no directories are available
go mod init
go get -u github.com/kataras/iris/v12@latest
go mod download
go run .
fi
done

# git update-index --chmod=+x ./.github/scripts/setup_examples_test.bash
42 changes: 42 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]

permissions:
contents: read

jobs:

test:
name: Test
runs-on: ubuntu-latest

strategy:
matrix:
go_version: [1.22.x]
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
check-latest: true
- run: go version

- name: Test
run: go test -v ./...

- name: Setup examples for testing
run: ./.github/scripts/setup_examples_test.bash

- name: Test examples
continue-on-error: true
working-directory: _examples
run: go test -v -mod=mod -cover -race ./...
78 changes: 78 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '24 11 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
check-latest: true
- run: go version

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
33 changes: 0 additions & 33 deletions .github/workflows/go.yml

This file was deleted.

15 changes: 10 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
.idea
.vscode
_authortools
.directory
node_modules
coverage.out
package-lock.json
_benchmarks/benchmarker/benchmarker.exe
_benchmarks/benchmarker/platforms
go.sum
access.log
node_modules
issue-*/
internalcode-*/
/_examples/feature-*/
_examples/**/uploads/*
_issues/**
.DS_STORE
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

First of all read our [Code of Conduct](https://github.com/kataras/iris/blob/master/CODE_OF_CONDUCT.md).
First of all read our [Code of Conduct](https://github.com/kataras/iris/blob/main/CODE_OF_CONDUCT.md).

## PR

Expand All @@ -26,7 +26,7 @@ Instructions can be found at: https://github.com/kataras/iris/issues/796

### Writing

Write an article about Iris in https://medium.com , https://dev.to or if you're being a hackathon at https://hackernoon.com, some [examples](https://github.com/kataras/iris/wiki/Publications).
Write an article about Iris in https://medium.com, https://dev.to or if you're being a hackathon at https://hackernoon.com and send us the link on iris-go@outlook.com.

### Social networks

Expand Down
26 changes: 12 additions & 14 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com
[![iris](https://img.shields.io/badge/iris-powered-2196f3.svg?style=for-the-badge)](https://github.com/kataras/iris)
```

> The badge is optionally, of course, it is just a simple and fast way to support Iris. The badge is work of a third-party, taken from https://github.com/blob-go/blob-go which was published by our friend @clover113 and we loved it<3
## Editors & IDEs Extensions

### Visual Studio Code <a href="https://marketplace.visualstudio.com/items?itemName=kataras2006.iris"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2d/Visual_Studio_Code_1.18_icon.svg/2000px-Visual_Studio_Code_1.18_icon.svg.png" height="20px" width="20px" /></a>
Expand All @@ -21,20 +19,20 @@ Add a `badge` to your open-source projects powered by [Iris](https://iris-go.com
## How to upgrade

```sh
go get -u github.com/kataras/iris/v12@latest
go get github.com/kataras/iris/v12@latest
```

Go version 1.13 and above is required.
Go version 1.20 and above is required.

## Learning

More than 100 practical examples, tutorials and articles at:
More than 280 practical examples, tutorials and articles at:

- https://iris-go.com/start
- https://github.com/kataras/iris/wiki/Starter-kits
- https://github.com/iris-contrib/examples
- https://godoc.org/github.com/kataras/iris
- https://bit.ly/iris-req-book
- https://www.iris-go.com/docs
- https://www.iris-go.com/#ebookDonateForm
<!-- - https://github.com/kataras/iris/wiki/Starter-kits -->
- https://github.com/kataras/iris/tree/main/_examples
- https://pkg.go.dev/github.com/kataras/iris/[email protected]

## Active development mode

Expand All @@ -47,12 +45,12 @@ open for Iris-specific developers the time we speak.

Go to our facebook page, like it and receive notifications about new job offers, we already have couple of them stay at the top of the page: https://www.facebook.com/iris.framework

## Do we have a community Chat?
## Do we have a Community chat?

Yes, https://chat.iris-go.com

## How is the development of Iris supported?
## How is the development of Iris economically supported?

By normal people, like you, who help us by donating small or large amounts of money.
By people like you, who help us by donating small or large amounts of money.

Help this project deliver awesome and unique features with the highest possible code quality by donating any amount via [PayPal](https://www.paypal.me/kataras). Your name will be published [here](https://iris-go.com) after your approval via e-mail.
Help this project deliver awesome and unique features with the highest possible code quality by donating any amount via [PayPal or Stripe](https://iris-go.com/donate). Your name will be published [here](https://www.iris-go.com/#review) after your approval via e-mail.
Loading

0 comments on commit 08a852e

Please sign in to comment.