Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
467 commits
Select commit Hold shift + click to select a range
b1fdb8d
added id to iframes
testlinkDevTeam Nov 20, 2021
d614693
#9151: Add configuration to apply wordwrap() on summary, precondition…
testlinkDevTeam Nov 23, 2021
5a47420
0009154: No action to change state available in the list of test case…
atisne Nov 30, 2021
f0bc607
checkExecutionEnvironment() improvement
testlinkDevTeam Nov 30, 2021
91357c0
- summary and preconditions can be string or array of strings
testlinkDevTeam Dec 7, 2021
966238a
fix 0009093: Smileys missing in Testcase assigned to me
testlinkDevTeam Dec 7, 2021
8cc3971
remove testlink event log error
testlinkDevTeam Dec 7, 2021
689a9c6
test case execution file upload: user message improvements
testlinkDevTeam Dec 8, 2021
62b381a
execution upload user feedback improvements
testlinkDevTeam Dec 8, 2021
3173c0c
add icon on test case title for heads up due to test case relations
testlinkDevTeam Jan 8, 2022
06f3c59
add icon on test case title for heads up due to test case relations
testlinkDevTeam Jan 9, 2022
bb3017b
Side effect reported in #0009107, by user stef-lhm
fmancardi Jan 22, 2022
58b4ff2
#0009173: deactivate test case delete custom field information (from …
testlinkDevTeam Jan 27, 2022
54eff3b
feature - # 0009175: Reuse test case preconditions using the ghost me…
testlinkDevTeam Jan 29, 2022
9273732
feature - #0009176: Special Keywords to hide Test Case Preconditions …
testlinkDevTeam Jan 29, 2022
4c0ecfc
Improvement - #0009172: TestLink - Better Copy/Paste When Editing Tes…
testlinkDevTeam Jan 29, 2022
24b39ed
feature - #0009176: Special Keywords to hide Test Case Preconditions …
testlinkDevTeam Jan 29, 2022
8f0d411
feature - #0009177: Copy ghost string - improvement - on click copy t…
testlinkDevTeam Jan 29, 2022
927b5e5
feature - # 0009175: Reuse test case preconditions using the ghost me…
testlinkDevTeam Jan 30, 2022
7b9349f
feature - # 0009179: Display Message on Test Case Specification accor…
testlinkDevTeam Jan 31, 2022
591ff1b
0009062: Cannot move test case by drag and drop (#331)
atisne Feb 1, 2022
80f89ac
feature - # 0009179: Display Message on Test Case Specification accor…
testlinkDevTeam Feb 1, 2022
8e065da
replace ExtJS with JQuery to get input values
testlinkDevTeam Feb 2, 2022
aa5094a
#0009158: creating TC shows a wrong message [ Private Project] - righ…
testlinkDevTeam Feb 3, 2022
36c568e
#0009158: creating TC shows a wrong message [ Private Project] - righ…
testlinkDevTeam Feb 7, 2022
318cc73
0009184: Use of undefined constant full - assumed 'full' (#332)
atisne Feb 12, 2022
be48900
Merge branch '20220208-export-platform' into testlink_1_9_20_fixedPHP…
testlinkDevTeam Feb 12, 2022
a31c1df
code layout
testlinkDevTeam Feb 12, 2022
6a09c0a
Platforms getAsXMLString()
testlinkDevTeam Feb 12, 2022
56a547c
export Platforms on design
testlinkDevTeam Feb 12, 2022
6111ef4
PHP8 - export issues - each() removed in PHP8
testlinkDevTeam Mar 11, 2022
2e6c0d5
PHP8 - fix crash due count() on null
testlinkDevTeam Mar 11, 2022
96f05cd
PHP8 - fix crash due sizeof() on null
testlinkDevTeam Mar 13, 2022
b0d8fc8
PHP8 - export issues - each() removed in PHP8
testlinkDevTeam Mar 13, 2022
6523bd4
PHP8 {0} -> [0] in arrays
testlinkDevTeam Mar 13, 2022
c867163
{$index} -> [$index]
testlinkDevTeam Mar 13, 2022
b77017d
PHP8 {} -> [] in arrays
testlinkDevTeam Mar 13, 2022
fa40452
0009193: Test Case import fails when using existing keywords with a d…
atisne Mar 24, 2022
1e12dcd
0009191: Test Plan deletion hangs when it owns a partially executed (…
atisne Mar 25, 2022
320c794
PHP 8 issues
testlinkDevTeam Mar 26, 2022
6a09f34
User Contribution
testlinkDevTeam Mar 26, 2022
1668e85
#0009190: Enable to delete a Test Case when it has a WIP execution
testlinkDevTeam Mar 26, 2022
0362d9c
minor changes
testlinkDevTeam Apr 23, 2022
c534b32
fix msg construction
testlinkDevTeam Apr 23, 2022
d3bdd7a
#0009201: Exporting Test Suite with attachments does not work (tested…
testlinkDevTeam Apr 23, 2022
0e270e2
#0009202: Importing a Test Suite XML file with attachments does not w…
testlinkDevTeam Apr 23, 2022
38914c1
PHP8 strftime() deprecated
testlinkDevTeam Apr 24, 2022
a4328b5
ADODB Upgraded to v5.22.1
testlinkDevTeam Apr 24, 2022
7c75626
PHP8 crash fixed - casting result to array
testlinkDevTeam Apr 24, 2022
ae11ae2
PHP8 crash fixed - count() on a var that is not an array
testlinkDevTeam Apr 24, 2022
bbe0cfe
PHP 8 - create_function() removed
testlinkDevTeam May 14, 2022
530fce6
fix 'size' is undefined in smarty
testlinkDevTeam May 14, 2022
d1c236a
gui->platformID -> gui->platform_id -> removed msg from testlink even…
testlinkDevTeam May 14, 2022
bf2f311
added missing keys to remove warnings from testlink event log
testlinkDevTeam May 14, 2022
7231b50
PHP 8 -> each() deprecated
testlinkDevTeam May 14, 2022
286e6d3
0009208: Add a filter on the service getTestCaseBugs to be able to re…
atisne Aug 24, 2022
f43ebc2
documentation
Aug 24, 2022
1e611ef
documentation improvements
Aug 24, 2022
73bc2a7
PHP 8.1 - fix count() on bad variable type
Aug 24, 2022
5f5c3f5
update() set optional enable_on* to allow import without issues
Aug 24, 2022
88ed220
fixed add check on attachements before trying to include template
Aug 24, 2022
fbfecc2
PHP Min Version Requirement: 7.4.2
Aug 25, 2022
859164d
changed calls to strftime() -> @strftime() because is deprecated in P…
Aug 25, 2022
6bc9129
using data- attributes for id for test automation
Aug 25, 2022
74756f0
#0009213: platform attribute - can be used on execution (is_open) - D…
Aug 25, 2022
ab665ea
fix commit with conflict comments inside :(
Aug 26, 2022
cde34c3
#0009213: platform attribute - can be used on execution (is_open) - D…
Aug 26, 2022
abbb5d5
platforms - export is_open attribute
Aug 27, 2022
f442754
code layout
Aug 27, 2022
b80ffb3
minor typo error
Aug 27, 2022
6dc12a2
platform - import is_open attribute
Aug 27, 2022
3350341
commented code removed
Aug 31, 2022
7cd4d73
fix better handler management (this property can not exists)
Aug 31, 2022
7278913
PHP 8.1 compat issues
Sep 1, 2022
4189553
#0009174: Variables - [tlVar][/tlvar]
Sep 1, 2022
1a15fd3
manage custom field location 'hide_because_is_used_as_variable' for c…
Sep 2, 2022
272c0b7
refactor bad switch usage
Sep 2, 2022
085f626
renderVariables, algorithm change (maybe to be reproduced in all othe…
Sep 2, 2022
4a7e1ac
test project id added
Sep 2, 2022
86b45d7
try/catch for debugging
Sep 2, 2022
7769569
added test project id
Sep 2, 2022
358a1ec
Fix hyperlink in readme to release notes section (#329)
leif81 Sep 8, 2022
9a36299
PHP 8.1.9 warnings & deprecate fixes
Dec 29, 2022
0b14e9d
COALESCE(execution notes)
Dec 29, 2022
cae8982
PHP 8.1.9 warnings & deprecate fixes
Dec 29, 2022
315ee96
PHP 8.1.9 warnings & deprecate fixes
Dec 29, 2022
3393aba
fixed checks on setting_platform -> no select displayed when test pla…
Dec 30, 2022
e579048
ignore *.lock
Dec 30, 2022
794d712
useless
Dec 30, 2022
e78e6e3
use right type for setting_platform, setting_build, etc.
Dec 31, 2022
f7356d8
code layout -> some array(..) replaced with []
Dec 31, 2022
d978ced
added render function for execution notes
Dec 31, 2022
c351b8f
bad syntax to access items -> crash
Dec 31, 2022
72169eb
more custom behaviours
Dec 31, 2022
8d7ce2c
code layout array(...) -> []
Dec 31, 2022
8774b78
code layout
Dec 31, 2022
7def6a0
improvement/workaround in columnWrap(), to manage when val to display
Dec 31, 2022
8e99c0a
#0009231: Cannot sort Test report matrix by execution notes
Dec 31, 2022
c1c30ab
code layout + fix event viewer warning
Dec 31, 2022
ef382e6
code layout
Dec 31, 2022
7687df6
commented code removed
Dec 31, 2022
594368b
#0009230: Cannot generate Test report matrix without platform on Test…
Dec 31, 2022
e73bd81
fix PHP8.1 error count() on null
Jan 3, 2023
04dccf6
layout improvement
Jan 3, 2023
8dde8bd
#0009234: Manage annotations inside keyword notes to provide user mes…
Jan 5, 2023
a64148f
event viewer warning messages fixed
Jan 6, 2023
50b3e1a
DataTable integration refactoring
Jan 6, 2023
817b68d
typo fixed
Jan 6, 2023
b5affb1
data tables filtering added
Jan 6, 2023
7834f3d
th_th_open fixed
Jan 6, 2023
5fc954b
bad reference to $args
Jan 6, 2023
bd0540d
FEATURE: added blocking overlay with Please Wait message during execu…
Jan 6, 2023
f45f90b
fix issue with execution attachments when DB_TABLE_PREFIX is no ""
Jan 7, 2023
0bf3e76
added PACE - Automatic page load progress bar (https://codebyzach.git…
Jan 8, 2023
1933d31
Using pace to provide better user feedback when the number of test ca…
Jan 8, 2023
8bda786
data tables improvements
Jan 29, 2023
b8ca211
0009236: Test case export no more export relations between test cases…
atisne Jan 29, 2023
eb56681
Fix broken init_settings() in tlTestCaseFilterControl (#347)
slowdive- Jan 29, 2023
930b805
Update mysql db_schema_update.sql v.1.9.18 for needed /*prefix*/ miss…
stefano-1973 Jan 29, 2023
9a06991
fix issue on exec (no data available message displayed)
testlinkDevTeam Mar 12, 2023
f607e6f
fixed - custom fields list,multilist managed using chosen
testlinkDevTeam Mar 13, 2023
1e60c26
fixed - custom fields list,multilist managed using chosen
testlinkDevTeam Mar 13, 2023
0f17002
REST API Version 3 - improvement in apikey read
testlinkDevTeam Aug 25, 2023
95d2e5a
Refresh and retest of REST API V3 - OK
testlinkDevTeam Aug 25, 2023
83ef5bb
fixed - using -1 as Platform ID when test plan has no platform in the…
testlinkDevTeam Aug 26, 2023
023071a
fixed - using -1 as Platform ID
testlinkDevTeam Aug 26, 2023
7704bfd
fixed - using -1 as Platform ID
testlinkDevTeam Aug 26, 2023
1670f86
fixed - using -1 as Platform ID
testlinkDevTeam Aug 26, 2023
4b051cd
improve checks to detect there is no file to upload during save exec …
testlinkDevTeam Aug 26, 2023
fb0cbef
improve checks to detect there is no file to upload during save exec …
testlinkDevTeam Aug 26, 2023
e04bb19
getProjects() fixed
testlinkDevTeam Aug 29, 2023
7285857
route signature changed
testlinkDevTeam Aug 29, 2023
c45f410
new shorter format only for access test case spec ->
testlinkDevTeam Aug 29, 2023
154ac4d
new standard relations type for TEST CASES
testlinkDevTeam Aug 29, 2023
42324f1
Vulnerability in password comparison. (Type Juggling) (#357)
organix7 Dec 1, 2023
78e0309
fix: TICKET 0009251: Cannot delete a build (#351)
atisne Dec 1, 2023
038019c
0009255: Requirement import complains about too long docid even if it…
atisne Dec 1, 2023
b750bf2
added: none type
testlinkDevTeam Dec 26, 2023
f3d2b91
Merge remote-tracking branch 'origin/testlink_1_9_20_fixed' into test…
testlinkDevTeam Dec 26, 2023
265dd1b
fixed: rs
testlinkDevTeam Dec 26, 2023
2fcc2b5
PHP8 Deprecated: Using ${var} in strings is deprecated, use {$var}
testlinkDevTeam Dec 26, 2023
8e058c2
PHP8 Deprecated: Using ${var} in strings is deprecated, use {$var}
testlinkDevTeam Dec 26, 2023
42369dc
PHP8 compatibility
testlinkDevTeam Dec 26, 2023
f90b6d7
fix - PHP8 - ${}
testlinkDevTeam Aug 17, 2024
23e98ec
Merge remote-tracking branch 'origin/testlink_1_9_20_fixed' into test…
testlinkDevTeam Aug 17, 2024
67087b6
Contribution -Fix for userHasRight function #365
fmancardi Oct 20, 2024
0750db6
Contribution - Typo Error
fmancardi Oct 20, 2024
b2aa3f2
fix: Cannot access results metrics dashboard (#359)
atisne Oct 20, 2024
1a64846
Contribution - Fix getTestCaseAssignedTester and manageTestCaseExecu…
fmancardi Oct 20, 2024
a92c147
Corrected spelling of 'droping' (#360)
dcoomber Oct 20, 2024
f73aa62
Corrected spelling of 'glosary' (#361)
dcoomber Oct 20, 2024
f2ecd28
Testlink 1.9.20 fixed db sample upgrade (#362)
dcoomber Oct 20, 2024
0bb09da
Testlink 1.9.20 docker manifold (#363)
dcoomber Oct 20, 2024
31fc084
Update adodb-pdo_pgsql.inc.php (#366)
hherreraNCQ Oct 20, 2024
bb77a61
Update ldap_api.php (PHP >=8.1.0 compatibility) (#370)
turbolocust Oct 20, 2024
2640d5a
Contribution - Fix out of range error on TC exec without platform #354
fmancardi Oct 20, 2024
8c5516b
fix: TICKET 0009383: Cannot use 'Tree Counters Latest Exec On Test Pl…
atisne Oct 20, 2024
d23f0b9
Authenticated SQL injection in lib/execute/execSetResults.php via the…
fmancardi Oct 20, 2024
d4e7c2e
Contribution - Using "build" instead of "wydanie" #330
fmancardi Oct 20, 2024
c839c85
Connector for Tuleap ITS (#275)
atisne Oct 20, 2024
5802d7b
Contribuiton - Chinese - fix unable to delete test project #317
fmancardi Oct 20, 2024
43fa29f
Contribution -Create devcontainer.json #342
fmancardi Oct 20, 2024
d99acb8
#0009381: Executing tests, without platform gives DB error - value ou…
fmancardi Oct 20, 2024
da36677
Contribution - Fixing PHP fatal error: Uncaught TypeError: count(): m…
fmancardi Oct 25, 2024
28810a5
Update object.class.php (#384)
Alexandremjp May 2, 2025
3b70a25
feat: TICKET 0009388: Allow to force authentication to SSO (#382)
atisne May 2, 2025
94d11dc
fix: TICKET 0009387: Do not set OAuth prompt (#381)
atisne May 2, 2025
c8dcda1
fix: TICKET 0009386: Use Microsoft OAuth 2.0 API v2 (#380)
atisne May 2, 2025
2e7978b
fix - warning bodyOnLoad,bodyOnUnload missing prop
fmancardi May 3, 2025
199a68e
some improvements for containers [part 1] (#387)
neiesc May 4, 2025
6119e98
Fix `_setArgs` to allow to create new projects using xmlrpc (#348)
Nyaran May 4, 2025
9ea221b
#9381: XMLRPS write exec test plans w/o platforms
fmancardi May 4, 2025
ed0846d
#9389: No "save execution" buton and ...
fmancardi May 4, 2025
1866003
https://nvd.nist.gov/vuln/detail/CVE-2022-35195
fmancardi May 4, 2025
502cdae
Cleanup of the obsolete and no longer used third_party resource
DanProgs Jun 3, 2025
f3c8522
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
87cb828
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
2eef11f
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
1a117c2
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
774f671
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
1658f05
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
9604f61
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
5edabcc
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
6c1284f
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
273e377
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
2777d93
revised parentheses of constructs and conditions
DanProgs Jun 3, 2025
59985db
revised parentheses of constructs and conditions
DanProgs Jun 4, 2025
6196983
revised parentheses of constructs and conditions
DanProgs Jun 4, 2025
c78365e
revised parentheses of constructs and conditions
DanProgs Jun 4, 2025
347df43
Cleaned up code - some adjustments to selected files
DanProgs Jun 8, 2025
de66ca2
Cleaned up code - some adjustments to selected files
DanProgs Jun 8, 2025
b8893fa
Cleaned up code - some adjustments to selected files
DanProgs Jun 8, 2025
adc5df5
Cleaned up code - some adjustments to selected files
DanProgs Jun 8, 2025
583be68
Cleaned up code - some adjustments to selected files
DanProgs Jun 9, 2025
99ab2f3
Cleaned up code - some adjustments to selected files
DanProgs Jun 9, 2025
034d4cc
Cleaned up code - some adjustments to selected files
DanProgs Jun 9, 2025
1eb18e6
The following adjustments were made:
DanProgs Jun 10, 2025
196f548
Cleaned up code - some adjustments to selected files
DanProgs Jun 12, 2025
44ce239
Cleaned up code - some adjustments to selected files
DanProgs Jun 13, 2025
11f9b40
Cleaned up code - some adjustments to selected files
DanProgs Jun 13, 2025
1f952fb
Cleaned up code - some adjustments to selected files
DanProgs Jun 17, 2025
01be452
Fix an Uncaught TypeError: count() in third_party\xml-rpc\class-IXR.php
DanProgs Jun 17, 2025
9c1139e
corrected typos in lib/api/xmlrpc/v1/xmlrpc.class.php
DanProgs Jun 18, 2025
df016b3
minor changes for PHP 8.x within the old third_party sources
DanProgs Jun 18, 2025
14aecc4
correction of linking to add and remove test cases
DanProgs Jun 18, 2025
be4fdb9
Cleaned up code - some adjustments to selected files
DanProgs Jun 19, 2025
aa4fe9d
Cleaned up code - some adjustments to selected files
DanProgs Jun 19, 2025
9cea322
Fix Deprecate required parameters after optional parameters in
DanProgs Jun 19, 2025
71704c4
update the dependencies
DanProgs Jun 20, 2025
d993f6b
Cleaned up code - some adjustments to selected files
DanProgs Jun 20, 2025
a2dd441
update the dependencies
DanProgs Jun 20, 2025
5eb0cc2
switched to updated dependency
DanProgs Jun 22, 2025
640cee4
Cleaned up code - some adjustments to selected files
DanProgs Jun 22, 2025
f84858e
formatting adjusted
DanProgs Jun 22, 2025
0d67be7
first changes merged
DanProgs Jun 22, 2025
35ff2bb
Cleaned up code - some adjustments to selected files
DanProgs Jun 23, 2025
ee71c60
Cleaned up code - some adjustments to selected files
DanProgs Jun 23, 2025
5191885
Cleaned up code - some adjustments to selected files
DanProgs Jun 23, 2025
929f0d4
Cleaned up code - some adjustments to selected files
DanProgs Jun 24, 2025
9a53ae4
Cleaned up code - some adjustments to selected files
DanProgs Jun 26, 2025
7d5c2b5
Cleaned up code - some adjustments to selected files
DanProgs Jul 3, 2025
efd8f4c
Cleaned up code - some adjustments to selected files
DanProgs Jul 3, 2025
573922b
Cleaned up code - some adjustments to selected files
DanProgs Jul 4, 2025
fb457d0
Cleaned up code - some adjustments to selected files
DanProgs Jul 4, 2025
ceaf6a2
Cleaned up code - some adjustments to selected files
DanProgs Jul 10, 2025
3d6c57c
Cleaned up code - some adjustments to selected files
DanProgs Jul 13, 2025
e09856d
Cleaned up code - some adjustments to selected files
DanProgs Jul 13, 2025
146cba9
Cleaned up code - some adjustments to selected files
DanProgs Jul 14, 2025
e7a6c03
Cleaned up code - some adjustments to selected files
DanProgs Aug 5, 2025
790b4ea
Cleaned up code - some adjustments to selected files
DanProgs Aug 8, 2025
95aa894
Cleaned up code - some adjustments to selected files
DanProgs Aug 8, 2025
0dcd146
Cleaned up code - some adjustments to selected files
DanProgs Aug 10, 2025
232644f
FIX an Uncaught TypeError: current() in \lib\results\resultsGeneral.php
DanProgs Aug 10, 2025
f24c629
FIX Uncaught TypeError: sizeof() in \lib\functions\testsuite.class.php
DanProgs Aug 10, 2025
a346b6f
FIX Uncaught TypeError: count() in \lib\functions\testsuite.class.php on
DanProgs Aug 10, 2025
0f6b6c4
FIX Uncaught TypeError: count() in \lib\functions\testsuite.class.php on
DanProgs Aug 10, 2025
9a2ea5d
FIX Uncaught TypeError: count() in \lib\functions\testproject.class.php
DanProgs Aug 10, 2025
fc6ed73
Cleaned up code - some adjustments to selected files
DanProgs Aug 10, 2025
f32fef4
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 12, 2025
be7060f
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 15, 2025
6ec344c
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 21, 2025
18ef560
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 26, 2025
2dcfd16
Cleaned up code - some adjustments to selected files
DanProgs Aug 26, 2025
dccc884
Cleaned up code - some adjustments to selected files
DanProgs Aug 27, 2025
364432d
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 28, 2025
9a324a4
Cleaned up and formatted code - some adjustments to selected files
DanProgs Aug 29, 2025
5b41b0e
Cleaned up and formatted code - some adjustments to selected files
DanProgs Sep 2, 2025
50dcf63
Cleaned up code - some files refactored
DanProgs Sep 3, 2025
a2d7031
Cleaned up code - some files refactored
DanProgs Sep 4, 2025
29b1851
Minor fixes
DanProgs Oct 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
}
}
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.env
.env.example
docker-compose.yml
Dockerfile
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
MYSQL_ROOT_PASSWORD=masterkey
92 changes: 92 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Docker

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

on:
push:
branches: [ "*" ]

env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}


jobs:
build:

runs-on: ubuntu-latest
permissions:
contents: read
packages: write
# This is used to complete the identity challenge
# with sigstore/fulcio when running outside of PRs.
id-token: write

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

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@59acb6260d9c0ba8f4a2f9d9b48431a222b68e20 #v3.5.0
with:
cosign-release: 'v2.2.4'

# Set up BuildKit Docker container builder to be able to build
# multi-platform images and export cache
# https://github.com/docker/setup-buildx-action
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0

# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

# Extract metadata (tags, labels) for Docker
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

# Sign the resulting Docker image digest except on PRs.
# This will only write to the public Rekor transparency log when the Docker
# repository is public to avoid leaking data. If you would like to publish
# transparency data even for private images, pass --force to cosign below.
# https://github.com/sigstore/cosign
- name: Sign the published Docker image
if: ${{ github.event_name != 'pull_request' }}
env:
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
TAGS: ${{ steps.meta.outputs.tags }}
DIGEST: ${{ steps.build-and-push.outputs.digest }}
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ config_db.inc.php
/custom_config.inc.php
**/._*
upload_area/**
.env
25 changes: 18 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
FROM pensiero/apache-php-mysql:latest
FROM php:7.4-apache

RUN apt update -q && apt install -yqq --force-yes \
mysql-server
RUN apt update && apt upgrade -y
RUN apt install -y \
default-mysql-client \
zlib1g-dev \
libpng-dev \
libjpeg-dev \
libfreetype-dev
RUN docker-php-ext-install mysqli && \
docker-php-ext-enable mysqli && \
docker-php-ext-configure gd --with-freetype --with-jpeg && \
docker-php-ext-install gd
RUN apt clean

# Start mysql
RUN /etc/init.d/mysql 'start'
WORKDIR /var/www/html

WORKDIR /var/www/public
COPY . ./
COPY . .
COPY ./docker/php.ini-production /usr/local/etc/php/conf.d/php.ini

RUN chown -R www-data:www-data /var/www/html/gui/templates_c
62 changes: 62 additions & 0 deletions README.containers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Containers
## compose
```yml
networks:
testlink:
name: testlink
services:
db:
image: mysql:8.3.0
networks:
- testlink
restart: unless-stopped
user: mysql
environment:
- MYSQL_USER=teste
- MYSQL_PASSWORD=teste
- MYSQL_ROOT_PASSWORD=teste
- MYSQL_DATABASE=testlink
volumes:
- mysql:/var/lib/mysql

maildev:
image: maildev/maildev:latest
networks:
- testlink
ports:
- 1080:1080
- 1025:1025
restart: unless-stopped
environment:
- NODE_TLS_REJECT_UNAUTHORIZED=0

app: &app
image: ghcr.io/neiesc/testlink-code:testlink_1_9_20_fixed
restart: unless-stopped
depends_on:
db:
condition: service_started
maildev:
condition: service_started
networks:
- testlink
ports:
- 8090:80
volumes:
- ./logs:/var/testlink/logs:Z
- ./upload_area:/var/testlink/upload_area:Z

restore:
<<: *app
depends_on:
app:
condition: service_started
restart: no
ports: []
profiles:
- tools
command: ['/bin/bash', '-c', 'cd ./docs/db_sample && ./restore_sample.sh']

volumes:
mysql:
```
22 changes: 20 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Next TestLink version will 2.x with a new UX based on the Dashio - Bootstrap Adm

## Contents
1. [Introduction](#1-introduction)
2. [Release notes / Critical Configuration Notes](2-release-notes--critical-configuration-notes)
2. [Release notes / Critical Configuration Notes](#2-release-notes--critical-configuration-notes)
3. [System Requirements](#3-system-requirements---server)
4. [Installation & SECURITY](#4-installation--security)
5. [Upgrade and Migration](#5-upgrade-and-migration)
Expand All @@ -25,6 +25,7 @@ Next TestLink version will 2.x with a new UX based on the Dashio - Bootstrap Adm
16. [User cries: I WANT HELP !!!](#16-user-cries-i-want-help-)
17. [Use Mantis documentation](#17-use-mantis-documentation)
18. [Link to GITORIOUS COMMITS](#18-link-to-gitorious-commits)
19. [Running Testlink using Docker](./docker/README.md)

## 1. Introduction

Expand Down Expand Up @@ -178,6 +179,11 @@ ATTENTION: we have not enough resources to test on all kind of browsers.

## 4. Installation & SECURITY

### With containers
use [README.containers.md](README.containers.md)

### Without containers

The following details the basic steps for installation on any system.
Instructions may seem unix-centric but should work on Windows systems.

Expand Down Expand Up @@ -227,6 +233,18 @@ Take a look at [bug 5147][5147], [bug 5148][5148], [bug 4977][4977] and
You should also need to configure write access for logging, upload and
template directories.


### SELINUX
If you use Linux Operating System, SELINUX can create some issues:

**ATTENTION with /var/www/html and selinux**
https://stackoverflow.com/questions/45311124/directory-is-not-writable-centos7-apache-2-4-6-php-5-4-16

If SELINUX is enabled you will need to run following command before been able to adjust folder rights
*[root@dogbert ~]\# chcon -R -t httpd_sys_rw_content_t /var/www/html/*

You may find more information searching in the Internet:
TestLink & SELINUX
** FCKEDITOR UPLOAD **

**ATTENTION: We now use CKEDITOR** (see [forum post][cke])
Expand Down Expand Up @@ -755,7 +773,7 @@ BEFORE the commit ID. => then Nike => Just DO IT
[upgf]: http://forum.testlink.org/viewforum.php?f=11
[uupg]: http://forum.testlink.org/viewforum.php?f=58
[tucf]: http://www.testlink.org/
[mbug]: http://www.testlink.org/mantis/
[mbug]: http://mantis.testlink.org/
[twt]: http://twitter.com/#!/TLOpenSource
[free]: http://www.freetest.net.br
[csrf]: https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet
Expand Down
75 changes: 0 additions & 75 deletions README.plugins

This file was deleted.

Loading