Skip to content

Commit ed49479

Browse files
merging from upstream august 2022
2 parents 68d6b4b + 1a863f3 commit ed49479

19 files changed

+6666
-97
lines changed

.github/ISSUE_TEMPLATE/Question.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,4 @@ Please use one of the following resources for help:
1919
- https://groups.google.com/forum/#!forum/loopbackjs
2020
- https://gitter.im/strongloop/loopback
2121
22-
**Immediate support**
23-
24-
- https://strongloop.com/api-connect-faqs/
25-
- https://strongloop.com/node-js/subscription-plans/
26-
2722
-->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ blank_issues_enabled: false
22
contact_links:
33
- name: Report a security vulnerability
44
url: https://loopback.io/doc/en/contrib/Reporting-issues.html#security-issues
5-
about: Do not report security vulnerabilities using GitHub issues. Please send an email to `[email protected]` instead.
5+
about: Do not report security vulnerabilities using GitHub issues. Please send an email to `[email protected]` instead.
66
- name: Get help on StackOverflow
77
url: https://stackoverflow.com/tags/loopbackjs
88
about: Please ask and answer questions on StackOverflow.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
15+
node-version: [12, 14, 16]
16+
services:
17+
postgres:
18+
image: postgres:latest
19+
env:
20+
POSTGRES_HOST_AUTH_METHOD: trust
21+
ports:
22+
- 5432:5432
23+
steps:
24+
- uses: actions/checkout@v2
25+
- name: Use Node.js ${{ matrix.node-version }}
26+
uses: actions/setup-node@v2
27+
with:
28+
node-version: ${{ matrix.node-version }}
29+
- run: npm install
30+
- run: npm test
31+
env:
32+
PGUSER: postgres
33+
code-lint:
34+
name: Code Lint
35+
runs-on: ubuntu-latest
36+
timeout-minutes: 60
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: Use Node.js 14
40+
uses: actions/setup-node@v2
41+
with:
42+
node-version: 14
43+
- name: Bootstrap project
44+
run: |
45+
npm ci --ignore-scripts
46+
- name: Verify code linting
47+
run: npm run lint
48+
49+
commit-lint:
50+
name: Commit Lint
51+
runs-on: ubuntu-latest
52+
timeout-minutes: 60
53+
steps:
54+
- uses: actions/checkout@v2
55+
with:
56+
fetch-depth: 0
57+
- name: Use Node.js 14
58+
uses: actions/setup-node@v2
59+
with:
60+
node-version: 14
61+
- name: Bootstrap project
62+
run: |
63+
npm ci --ignore-scripts
64+
- name: Verify commit linting
65+
run: npx commitlint --from origin/master --to HEAD --verbose

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

CHANGES.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,29 @@
1+
2022-01-13, Version 5.5.0
2+
=========================
3+
4+
* chore: add Rifa and Mario as codeowners (Diana Lau)
5+
6+
* fix: disregard empty and/or fields (Abhilash Murthy)
7+
8+
* feat(operators): add fts match operator (Akshat Dubey)
9+
10+
* chore: move repo to loopbackio org (Diana Lau)
11+
12+
* Defensively drop constraints during migrations (Chris Kobrzak)
13+
14+
15+
2021-05-03, Version 5.4.0
16+
=========================
17+
18+
* Add on delete options on FK constraints (Quentin Le Bour)
19+
20+
* ci: switch from Travis to Github Actions (Agnes Lin)
21+
22+
* Revert "ci: switch travis to github actions" (Miroslav Bajtoš)
23+
24+
* ci: switch travis to github actions (Francisco Buceta)
25+
26+
127
2020-12-07, Version 5.3.0
228
=========================
329

CODEOWNERS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
# Alumni members
66
# @kjdelisle @loay @ssh24 @virkt25 @b-admike @zbarbuto @elv1s
7+
# @jannyHou @emonddr
78

89
# Core team members
9-
* @jannyHou @dhmlau @emonddr @agnes512
10+
* @dhmlau @agnes512 @achrinza @marioestradarosa

CODE_OF_CONDUCT.md

Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
# Code of Conduct
2+
3+
LoopBack, as member project of the OpenJS Foundation, use
4+
[Contributor Covenant v2.0](https://contributor-covenant.org/version/2/0/code_of_conduct)
5+
as their code of conduct. The full text is included
6+
[below](#contributor-covenant-code-of-conduct-v2.0) in English, and translations
7+
are available from the Contributor Covenant organisation:
8+
9+
- [contributor-covenant.org/translations](https://www.contributor-covenant.org/translations)
10+
- [github.com/ContributorCovenant](https://github.com/ContributorCovenant/contributor_covenant/tree/release/content/version/2/0)
11+
12+
Refer to the sections on reporting and escalation in this document for the
13+
specific emails that can be used to report and escalate issues.
14+
15+
## Reporting
16+
17+
### Project Spaces
18+
19+
For reporting issues in spaces related to LoopBack, please use the email
20+
`[email protected]`. The LoopBack Technical Steering Committee (TSC) handles CoC issues related to the spaces that it
21+
maintains. The project TSC commits to:
22+
23+
- maintain the confidentiality with regard to the reporter of an incident
24+
- to participate in the path for escalation as outlined in the section on
25+
Escalation when required.
26+
27+
### Foundation Spaces
28+
29+
For reporting issues in spaces managed by the OpenJS Foundation, for example,
30+
repositories within the OpenJS organization, use the email
31+
`[email protected]`. The Cross Project Council (CPC) is responsible for
32+
managing these reports and commits to:
33+
34+
- maintain the confidentiality with regard to the reporter of an incident
35+
- to participate in the path for escalation as outlined in the section on
36+
Escalation when required.
37+
38+
## Escalation
39+
40+
The OpenJS Foundation maintains a Code of Conduct Panel (CoCP). This is a
41+
foundation-wide team established to manage escalation when a reporter believes
42+
that a report to a member project or the CPC has not been properly handled. In
43+
order to escalate to the CoCP send an email to
44+
45+
46+
For more information, refer to the full
47+
[Code of Conduct governance document](https://github.com/openjs-foundation/cross-project-council/blob/HEAD/CODE_OF_CONDUCT.md).
48+
49+
---
50+
51+
## Contributor Covenant Code of Conduct v2.0
52+
53+
## Our Pledge
54+
55+
We as members, contributors, and leaders pledge to make participation in our
56+
community a harassment-free experience for everyone, regardless of age, body
57+
size, visible or invisible disability, ethnicity, sex characteristics, gender
58+
identity and expression, level of experience, education, socio-economic status,
59+
nationality, personal appearance, race, religion, or sexual identity and
60+
orientation.
61+
62+
We pledge to act and interact in ways that contribute to an open, welcoming,
63+
diverse, inclusive, and healthy community.
64+
65+
## Our Standards
66+
67+
Examples of behavior that contributes to a positive environment for our
68+
community include:
69+
70+
- Demonstrating empathy and kindness toward other people
71+
- Being respectful of differing opinions, viewpoints, and experiences
72+
- Giving and gracefully accepting constructive feedback
73+
- Accepting responsibility and apologizing to those affected by our mistakes,
74+
and learning from the experience
75+
- Focusing on what is best not just for us as individuals, but for the overall
76+
community
77+
78+
Examples of unacceptable behavior include:
79+
80+
- The use of sexualized language or imagery, and sexual attention or advances of
81+
any kind
82+
- Trolling, insulting or derogatory comments, and personal or political attacks
83+
- Public or private harassment
84+
- Publishing others' private information, such as a physical or email address,
85+
without their explicit permission
86+
- Other conduct which could reasonably be considered inappropriate in a
87+
professional setting
88+
89+
## Enforcement Responsibilities
90+
91+
Community leaders are responsible for clarifying and enforcing our standards of
92+
acceptable behavior and will take appropriate and fair corrective action in
93+
response to any behavior that they deem inappropriate, threatening, offensive,
94+
or harmful.
95+
96+
Community leaders have the right and responsibility to remove, edit, or reject
97+
comments, commits, code, wiki edits, issues, and other contributions that are
98+
not aligned to this Code of Conduct, and will communicate reasons for moderation
99+
decisions when appropriate.
100+
101+
## Scope
102+
103+
This Code of Conduct applies within all community spaces, and also applies when
104+
an individual is officially representing the community in public spaces.
105+
Examples of representing our community include using an official e-mail address,
106+
posting via an official social media account, or acting as an appointed
107+
representative at an online or offline event.
108+
109+
## Enforcement
110+
111+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
112+
reported to the community leaders responsible for enforcement at
113+
[[email protected]](mailto:[email protected]). All complaints will be reviewed and
114+
investigated promptly and fairly.
115+
116+
All community leaders are obligated to respect the privacy and security of the
117+
reporter of any incident.
118+
119+
## Enforcement Guidelines
120+
121+
Community leaders will follow these Community Impact Guidelines in determining
122+
the consequences for any action they deem in violation of this Code of Conduct:
123+
124+
### 1. Correction
125+
126+
**Community Impact**: Use of inappropriate language or other behavior deemed
127+
unprofessional or unwelcome in the community.
128+
129+
**Consequence**: A private, written warning from community leaders, providing
130+
clarity around the nature of the violation and an explanation of why the
131+
behavior was inappropriate. A public apology may be requested.
132+
133+
### 2. Warning
134+
135+
**Community Impact**: A violation through a single incident or series of
136+
actions.
137+
138+
**Consequence**: A warning with consequences for continued behavior. No
139+
interaction with the people involved, including unsolicited interaction with
140+
those enforcing the Code of Conduct, for a specified period of time. This
141+
includes avoiding interactions in community spaces as well as external channels
142+
like social media. Violating these terms may lead to a temporary or permanent
143+
ban.
144+
145+
### 3. Temporary Ban
146+
147+
**Community Impact**: A serious violation of community standards, including
148+
sustained inappropriate behavior.
149+
150+
**Consequence**: A temporary ban from any sort of interaction or public
151+
communication with the community for a specified period of time. No public or
152+
private interaction with the people involved, including unsolicited interaction
153+
with those enforcing the Code of Conduct, is allowed during this period.
154+
Violating these terms may lead to a permanent ban.
155+
156+
### 4. Permanent Ban
157+
158+
**Community Impact**: Demonstrating a pattern of violation of community
159+
standards, including sustained inappropriate behavior, harassment of an
160+
individual, or aggression toward or disparagement of classes of individuals.
161+
162+
**Consequence**: A permanent ban from any sort of public interaction within the
163+
community.
164+
165+
## Attribution
166+
167+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
168+
version 2.0, available at
169+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
170+
171+
Community Impact Guidelines were inspired by
172+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
173+
174+
[homepage]: https://www.contributor-covenant.org
175+
176+
For answers to common questions about this code of conduct, see the FAQ at
177+
https://www.contributor-covenant.org/faq. Translations are available at
178+
https://www.contributor-covenant.org/translations.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Contributing to `loopback-connector-postgresql` is easy. In a few simple steps:
1414
* Adhere to code style outlined in the [Google C++ Style Guide][] and
1515
[Google Javascript Style Guide][].
1616

17-
* Sign the [Contributor License Agreement](https://cla.strongloop.com/agreements/strongloop/loopback-connector-postgresql)
17+
* Sign the [Developer Certificate of Origin](#developer-certificate-of-origin)
1818

1919
* Submit a pull request through Github.
2020

0 commit comments

Comments
 (0)