Skip to content

Commit 5722695

Browse files
committed
license update
1 parent 5f0052f commit 5722695

30 files changed

Lines changed: 177 additions & 143 deletions

LICENSE

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
MIT License
1+
Copyright 2026 OwnYourData.eu
22

3-
Copyright (c) 2022 OwnYourData
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
46

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
7+
http://www.apache.org/licenses/LICENSE-2.0
118

12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ If you want to contribute, please follow these steps:
3636

3737
## License
3838

39-
[MIT License 2023 - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/semcon/main/LICENSE)
39+
[Apache 2.0 License - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/semcon/main/LICENSE)

cli/LICENSE

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

cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ If you want to contribute, please follow these steps:
1818

1919
## License
2020

21-
[MIT License 2022 - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/semcon/main/LICENSE)
21+
[Apache 2.0 License - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/semcon/main/LICENSE)

databud/LICENSE

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

databud/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Supported by the Federal Ministry for Climate Protection, Environment, Energy, M
3737

3838
## Lizenz
3939

40-
[MIT License 2022 - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/oyd-databud/master/LICENSE)
40+
[Apache 2.0 License - OwnYourData.eu](https://raw.githubusercontent.com/OwnYourData/semcon/main/LICENSE)

dc-base/.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ruby-3.1.0
1+
ruby-3.2.8

dc-base/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ gem "json"
1515
gem "json-ld"
1616
gem "puma"
1717
gem "rack-cors"
18-
gem "oydid"
18+
gem "oydid", "~>0.5.9"
1919
gem 'doorkeeper'
2020
gem 'responders'
21-
gem 'pagy'
21+
gem 'pagy', '~> 9.4'
2222
gem 'rswag'
2323
gem 'simple_dag'
2424
gem 'statistics'

dc-base/app/controllers/api/v1/stores_controller.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,14 @@ def read
238238
response_object["data"] = retVal["item"]
239239
end
240240
end
241+
242+
# q-Filter
243+
if !params[:q].nil?
244+
filter_field = params[:q_field] || 'title'
245+
response_object = response_object.select {
246+
|e| e[filter_field].to_s.downcase.include?(params[:q].to_s.downcase) }
247+
end
248+
241249
else
242250
schema = nil
243251
if retVal["item"].nil?
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
72573a17f96a42a2738664e40a98b0e9

0 commit comments

Comments
 (0)