Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge resolution branch into biorepo master #559

Open
wants to merge 803 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
803 commits
Select commit Hold shift + click to select a range
2a23a2d
3.1-upload-bug
egbot May 28, 2024
182d3bd
Merge pull request #1377 from BioKIC/3.1-dev-specimen-upload-bug
egbot May 28, 2024
f43d897
Bugfix/3.1/collection list map clustering (#1373)
MuchQuak May 30, 2024
2d0e476
oFixes Map Search Auto searching with no Parameters (#1388)
MuchQuak Jun 3, 2024
09a6087
Bugfix/3.1/record search contrast (#1386)
MuchQuak Jun 3, 2024
3e330ff
adds guard to do either 'AND' or 'WHERE' if $sqlWhere is empty (#1391)
MuchQuak Jun 3, 2024
04ba2e0
[3.1] Merge Duplicate Record bugfix (#1344)
MuchQuak Jun 4, 2024
8847af3
adding quote filtering for taxa and taxonFilter to prevent link onmou…
MuchQuak Jun 4, 2024
4730673
make sure the formats are in explicitly in a whitelist in an attempt …
Atticus29 Jun 4, 2024
15e2000
[3.1] - burpsuite - emlhandler fix: adds is_numeric checker for colli…
Atticus29 Jun 4, 2024
be64c2c
[3.1] - select collections from the url if present (#1400)
Atticus29 Jun 5, 2024
75765a2
Update ImInventories.php
egbot Jun 5, 2024
9b4318a
Merge pull request #1408 from BioKIC/minor-sanitation-bug-2024-06
egbot Jun 5, 2024
450385f
fixed the icons max-width value (#1410)
NikitaSalikov Jun 5, 2024
b01fcc1
attempt to fix the injection issues in collections/list.php (#1401)
NikitaSalikov Jun 5, 2024
3426880
Fixes Geothesaurus Searching Closes #1396 (#1404)
MuchQuak Jun 5, 2024
2ca47c7
sort by lenght so more exact match comes up when typed (#1416)
MuchQuak Jun 6, 2024
47f778d
Enhancement/3.1/mappoint aid better edit (#1417)
MuchQuak Jun 7, 2024
5e11ee2
3.1 new search to list display (#1411)
Atticus29 Jun 7, 2024
215917a
Change from button back to input to upload file (#1415)
themerekat Jun 10, 2024
53c592a
htmlentity quote was messing with json_decode closes #1384 (#1419)
MuchQuak Jun 10, 2024
f8c0e89
changed to prepared statements (#1422)
NikitaSalikov Jun 12, 2024
202bf05
fixes bug there was a db error because voucher manager was missing du…
Atticus29 Jun 12, 2024
78b2200
fixes voucher alignment when no search variables are present closes #…
MuchQuak Jun 12, 2024
a78afb0
fix types for taxa id-related prepared statements to match sqls expec…
Atticus29 Jun 12, 2024
4673ff1
3.1 schema patch adjustments (#1413)
egbot Jun 12, 2024
8bda2ba
3.1 burpsuite fixes 19 june 2024 (#1433)
Atticus29 Jun 21, 2024
8c4f088
[3.1] Minimal header - part 1 (incomplete implementation that default…
Atticus29 Jun 21, 2024
9a31c85
Merge pull request #1437 from BioKIC/api-media-data-input
egbot Jun 21, 2024
0253ffc
Remove imported stylesheet (#1441)
GregoryPost Jun 21, 2024
7f34ebd
Add missing lang file (#1440)
themerekat Jun 21, 2024
de4b0c0
Determinations import fix (#1435)
NikitaSalikov Jun 21, 2024
5386227
added styling for disabled buttons (#1431)
NikitaSalikov Jun 21, 2024
869d6a9
Taxonomy API Development (#1442)
egbot Jun 23, 2024
40cc0b7
Taxonomy Search API Endpoint Dev (#1443)
egbot Jun 23, 2024
99d83b4
Update harvester.php (#1447)
GregoryPost Jun 26, 2024
68e3634
CSS drop-down menus (#1452)
GregoryPost Jun 27, 2024
e7ae01c
Update OmCollections.php (#1455)
GregoryPost Jun 28, 2024
0df343c
Occurrence editor crowdsource adjustments
egbot Jul 1, 2024
ca08ef7
occurrence editor crowdsource adjustments
egbot Jul 1, 2024
b430331
closes #1449 which was preventing checklist polyaid from opening (#1458)
MuchQuak Jul 1, 2024
10451be
crowdsource editor styling issue
egbot Jul 2, 2024
9275fe5
Merge pull request #1457 from BioKIC/occur-editor-crowdsourcing
egbot Jul 2, 2024
1372c9a
Api media 2024 06 (#1463)
egbot Jul 2, 2024
6716d60
Media API
egbot Jul 2, 2024
f8daa98
Merge pull request #1464 from BioKIC/api-media-patch-bug
egbot Jul 2, 2024
5086af5
added confirmation windows for project and editor delete icons (#1454)
NikitaSalikov Jul 3, 2024
00900f9
[3.1] -burpsuite-fix: do not add taxa to query if there are special c…
Atticus29 Jul 3, 2024
e9081cd
Occurrence download bug (#1478)
egbot Jul 8, 2024
3b2016c
increase font size globally (#843)
Atticus29 Jul 9, 2024
4a80b9e
Bugfix/3.1/spiderfy fix (#1476)
MuchQuak Jul 9, 2024
21a2e20
Paleo bug fix
egbot Jul 10, 2024
75a6aa5
Collmetadata lang tag audit (#1097)
themerekat Jul 10, 2024
7df5a89
Fix to Spanish translations per Samanta's feedback (#1489)
themerekat Jul 10, 2024
2faeb82
Audit lang tags for guidmapper.php (#1083)
themerekat Jul 10, 2024
0fefd4d
set the initial zoom at 500m (#1493)
NikitaSalikov Jul 10, 2024
3763a79
Translation fixes from Samanta's feedback, pt 2 (#1499)
themerekat Jul 11, 2024
1726617
Small changes to es (#1501)
themerekat Jul 11, 2024
297ce40
symbbase.php refactor
egbot Jul 11, 2024
330f839
Fix footer to bottom and correct portal login page (#1502)
GregoryPost Jul 11, 2024
94eb3df
switch png to svg, switch button classes to icon-button (#1503)
NikitaSalikov Jul 12, 2024
8c9e5f0
Remap old system variables to current format
egbot Jul 13, 2024
fdae670
Merge pull request #1508 from BioKIC/Development
egbot Jul 13, 2024
947ee65
Paleo bug fix
egbot Jul 13, 2024
f101141
Material Sample minor style adjust
egbot Jul 14, 2024
5c82417
Merge pull request #1510 from BioKIC/material-sample-style-adjust
egbot Jul 14, 2024
362590a
Merge pull request #1486 from BioKIC/3.1-paleo-bug
egbot Jul 15, 2024
3616979
Duplicate tool title too long crash fix (#1511)
NikitaSalikov Jul 15, 2024
40d4e40
Minor bug fix
egbot Jul 15, 2024
82852df
Merge pull request #1509 from BioKIC/remap-old-config-variables
egbot Jul 15, 2024
cc97bd2
change font control (#1512)
MuchQuak Jul 16, 2024
37e0cc5
Merge pull request #1528 from BioKIC/master
egbot Jul 19, 2024
c58f246
Null result handle in collections/misc/collstats.php (#1453)
NikitaSalikov Jul 19, 2024
0178315
Occurrence Query String Multiple taxa fix (#1520)
MuchQuak Jul 19, 2024
1a67719
Colprofile Lang Fix (#1517)
MuchQuak Jul 19, 2024
6dd47fd
MappointAid Error Radius Check closes #1487 (#1516)
MuchQuak Jul 19, 2024
9b0ea85
Head template adjustment and base.css into main.css merge (#1514)
egbot Jul 22, 2024
f6eac39
CSS Refactor
egbot Jul 22, 2024
3b68541
Fix bold on taxon names closes #1490 (#1529)
MuchQuak Jul 23, 2024
437f29f
Fixing Data Management Tool Subheader Styles (#1531)
MuchQuak Jul 24, 2024
df6e51f
Fix minors reported within Apache log files
egbot Jul 25, 2024
a2f391a
Merge pull request #1537 from BioKIC/3.1-misc-minor-errors
egbot Jul 25, 2024
5731ead
Occurrence Search bug (#1536)
egbot Jul 25, 2024
079305b
CSS modification by Logan
egbot Jul 29, 2024
5b35f71
header and footer adjustments
egbot Jul 29, 2024
5712daf
minimal header adjustments
egbot Jul 29, 2024
48bde48
Change html entities to symbols
themerekat Jul 29, 2024
7ba1f75
Add temporarily to resolve conflict
egbot Jul 29, 2024
bb703b0
Merge pull request #1542 from BioKIC/Development
egbot Jul 29, 2024
44962eb
Remove dependence on v202209
egbot Jul 29, 2024
35b23dd
Merge branch 'css-refactor' of https://github.com/BioKIC/Symbiota int…
egbot Jul 29, 2024
71852b2
fixed the profile accessibility setting (#1534)
NikitaSalikov Jul 29, 2024
857ee8d
Misc adjustments
egbot Jul 29, 2024
c80e58d
Merge pull request #1544 from BioKIC/Development
egbot Jul 29, 2024
656079f
Very minor code adjustment
egbot Jul 29, 2024
fadb043
improved quick search css (#1539)
MuchQuak Jul 29, 2024
a7afc04
Fix for Merge Duplicates Failing when no Determinations need Downgrad…
MuchQuak Jul 29, 2024
04b6e75
Increase Symbiota size of icon
egbot Jul 30, 2024
ee4601e
Template Lang File Refactor
egbot Jul 30, 2024
846f365
adding variable to control menu font-size for easy customization (#1547)
MuchQuak Jul 30, 2024
9fb0022
Misc adjustments
egbot Jul 30, 2024
03b1dae
Merge pull request #1558 from BioKIC/Development
egbot Jul 30, 2024
501d87a
Remove 202209 again
egbot Jul 30, 2024
f44a5b6
Merge branch 'css-refactor' of https://github.com/BioKIC/Symbiota int…
egbot Jul 30, 2024
b3fe035
Add break to collection profile title (#1556)
themerekat Jul 31, 2024
169b15b
Template lang file adjustments
egbot Jul 31, 2024
d4b69db
Continue to synchronize header and footer lang files
egbot Jul 31, 2024
24c1c0e
Merge pull request #1541 from BioKIC/css-refactor
egbot Jul 31, 2024
1e68174
Update variables.css
GregoryPost Jul 31, 2024
fe8c237
change the default project to 0 (#1546)
NikitaSalikov Jul 31, 2024
63426f2
fix typo in request (#1559)
NikitaSalikov Jul 31, 2024
8fe9628
Add header override files
egbot Jul 31, 2024
17e6b5d
Adjustment to resolve conflicts
egbot Jul 31, 2024
45c0d0e
minor adjustment
egbot Jul 31, 2024
84675a6
Merge pull request #1562 from BioKIC/Development
egbot Jul 31, 2024
4ecd040
Change exsicatti to exsicattae (#1563)
themerekat Jul 31, 2024
596fbaf
Reapply adjustments lost during previous dev merge
egbot Jul 31, 2024
ddd0488
Change "open" to "toggle" record search form (#1565)
themerekat Jul 31, 2024
98e74ec
Remove inline styling for nav icon
themerekat Jul 31, 2024
d7f5e9b
Create customizations.css (#1567)
GregoryPost Jul 31, 2024
62c4085
Continued adjustments
egbot Aug 1, 2024
232250f
More developments
egbot Aug 1, 2024
f132adc
Merge pull request #1570 from BioKIC/Development
egbot Aug 1, 2024
6bcc090
Additional styling adjustments
egbot Aug 1, 2024
1eae631
Merge pull request #1569 from BioKIC/NEW-taxon-profile-icon-fix
themerekat Aug 1, 2024
89d9949
updated the path for accessibility and condensed css (#1572)
NikitaSalikov Aug 1, 2024
2912bc5
Taxon Description issues
egbot Aug 1, 2024
71bfe37
Merge pull request #1573 from BioKIC/taxon-description-bugs
egbot Aug 1, 2024
10eef5c
created css class for inverted color, switched location of buttons in…
NikitaSalikov Aug 1, 2024
5b65b50
Dynamic Map adjustments
egbot Aug 1, 2024
71294b8
Merge pull request #1571 from BioKIC/template-lang-file-refactor
egbot Aug 1, 2024
e196c75
Merge pull request #1580 from BioKIC/Development
egbot Aug 1, 2024
0e18fc8
Collection Search variable adjustment (#1578)
egbot Aug 2, 2024
1000196
Merge pull request #1581 from BioKIC/Development
egbot Aug 2, 2024
0ab3004
Merge branch 'spanish-fixes' into Development
themerekat Aug 2, 2024
024e9a0
Merge branch 'Development' into temp-branch-to-resolve-conflict
egbot Aug 2, 2024
3664b26
Disallow glossary download unless you're an editor (#1589)
themerekat Aug 2, 2024
e9e9045
Add link to data usage policy to prompt citing glossary (#1590)
themerekat Aug 3, 2024
2357808
Make use of getDomin within UtilityFunctions
egbot Aug 5, 2024
bf501a3
Merge pull request #1592 from BioKIC/temp-branch-to-resolve-conflict
egbot Aug 5, 2024
e6930f5
Minor adjustments to accommodate failed input variables
egbot Aug 5, 2024
88e99d1
Adjustment to previous submit
egbot Aug 5, 2024
d7bd6b5
Merge pull request #1577 from BioKIC/dynamic-map-links-issue
egbot Aug 6, 2024
8403b67
Minor adjustments to checklists lang files
egbot Aug 6, 2024
444d5bb
Merge pull request #1595 from BioKIC/checklist-lang-file-adjustments
egbot Aug 6, 2024
21373d8
Rename Taxon / Transfer Vouchers fix (#1594)
GregoryPost Aug 6, 2024
3148dc6
Button styling fix in collprofiles.php (#1535)
NikitaSalikov Aug 7, 2024
ae561b0
Occurrence Editor otherCatNum NULL search
egbot Aug 7, 2024
136cb59
Merge pull request #1603 from BioKIC/occurrence-editor-otherCatNum-NULL
egbot Aug 8, 2024
7bf0dc4
Merge branch 'Development' into master-copy-to-resolve-conflicts
egbot Aug 8, 2024
c3e912f
Merge pull request #1607 from BioKIC/master-copy-to-resolve-conflicts
egbot Aug 8, 2024
96543a1
Header / Footer adjustments
egbot Aug 9, 2024
b82c381
Merge pull request #1609 from BioKIC/footer-revamp-bug
egbot Aug 9, 2024
caf999d
Checklist Add taxon bugfix (#1604)
GregoryPost Aug 9, 2024
2955750
Reset CSS Adjustments
egbot Aug 9, 2024
eda8520
increased the width of utm div (#1613)
NikitaSalikov Aug 12, 2024
69e4fed
removed extra div from for loop (#1614)
NikitaSalikov Aug 12, 2024
5c3e9f8
Merge pull request #1611 from BioKIC/reset-css-adjustments
egbot Aug 12, 2024
6aa3e55
Accessibility adjustments (#1610)
egbot Aug 12, 2024
71c6373
Remove Vertical-align from reset.css closes #1498 (#1518)
MuchQuak Aug 12, 2024
6084bf8
remove gridlike-row class from grouped collections (#1618)
NikitaSalikov Aug 14, 2024
2c11c56
added left margin to heading (#1622)
NikitaSalikov Aug 14, 2024
c2d4b73
fixed the headers, added subheader class (#1623)
NikitaSalikov Aug 14, 2024
3dfa386
added display inline, added margin (#1624)
NikitaSalikov Aug 14, 2024
9eb36e1
Make SVG icons color controlled by values in variables.css (#1473)
NikitaSalikov Aug 15, 2024
a8b4caf
Geo thesaurus default data (#1627)
egbot Aug 16, 2024
a2a9dd9
Snapshot collection menu adjustments (#1628)
egbot Aug 16, 2024
4a6d1b8
Audit of specupload lang tags (#1084)
themerekat Aug 19, 2024
8d98ae9
Collection menu adjustment
egbot Aug 20, 2024
b07eaa5
Merge pull request #1638 from BioKIC/push-snapshot-menu-adjustments-t…
egbot Aug 20, 2024
d6b3e6c
Update setup.sh (#1630)
GregoryPost Aug 20, 2024
281b1a1
Hide h1 titles on popups and pages with duplicate titles (#1633)
NikitaSalikov Aug 20, 2024
21e654a
Update OccurrenceIndividual.php (#1648)
GregoryPost Aug 21, 2024
21e84bf
Add missing language tag (#1642)
themerekat Aug 21, 2024
5535adb
Update geothesaurus (#1636)
themerekat Aug 21, 2024
29cce41
add check for clid and default to 0 if it doesn't exist (#1632)
MuchQuak Aug 21, 2024
e2471aa
Bugfix/3.1/geothesaurus map fixes (#1635)
MuchQuak Aug 21, 2024
ad1e6a6
Update header_template.php
GregoryPost Aug 21, 2024
784b99b
Contacts header on collprofiles font fix (#1651)
NikitaSalikov Aug 21, 2024
1f14511
Change NSF references to US NSF (#1652)
themerekat Aug 22, 2024
3627f01
Checklist html tags (#1637)
egbot Aug 22, 2024
50a7401
Populated individual Date fields
egbot Aug 23, 2024
8ac8062
Merge pull request #1658 from BioKIC/date-fields-update
egbot Aug 23, 2024
4eaee2d
fix geographic cleaning tool (#1659)
NikitaSalikov Aug 23, 2024
85c69d2
added hidden input for default useThes value (#1657)
NikitaSalikov Aug 23, 2024
a6fce79
Schema Manager adjustments (#1655)
egbot Aug 23, 2024
3faddaf
Update DwcArchiverCore.php
egbot Aug 23, 2024
46ebf64
Merge pull request #1660 from BioKIC/map-download-bug
egbot Aug 23, 2024
2280d32
Dynamic map checklist dev
egbot Aug 23, 2024
89d6cff
Taxon links bug
egbot Aug 24, 2024
e9dd5da
Merge pull request #1661 from BioKIC/checklist-dynamic-map-dev
egbot Aug 24, 2024
20a7032
Fix redundant map (#1663)
themerekat Aug 24, 2024
28280d7
Merge pull request #1664 from BioKIC/taxon-links-bug
egbot Aug 24, 2024
86cdafb
adjust sort comparator to return explcit numbers so v8 doesn't get co…
MuchQuak Aug 27, 2024
b6a2bd7
wrapped latitude/longitude in label (#1668)
NikitaSalikov Aug 27, 2024
503dab9
Add crowdsourcing language tag
themerekat Aug 27, 2024
ebd3a11
Update INSTALL.md
GregoryPost Aug 27, 2024
507b134
Update INSTALL.md
GregoryPost Aug 27, 2024
f631779
Update search.php
egbot Aug 27, 2024
fbf1086
Merge pull request #1678 from BioKIC/master
egbot Aug 27, 2024
8d722a2
Merge pull request #1676 from BioKIC/image-batch-tagging-bug
egbot Aug 27, 2024
01f4fcd
3.1 preparation updates
egbot Aug 27, 2024
8afabf2
Fix typo
themerekat Aug 28, 2024
b91de92
Merge pull request #1679 from BioKIC/3.1-documentation-update-Ed
egbot Aug 28, 2024
b50a0db
Update UPDATE.md (#1681)
GregoryPost Aug 28, 2024
6279f1e
Fix Backward Compatiblity Issue involving mysqli_execute_query (#1682)
MuchQuak Aug 28, 2024
71f9b8e
usage of taxa thesaurus family over occurrence family (#1675)
MuchQuak Aug 28, 2024
bd855cd
bugfix barcodes (#1683)
GregoryPost Aug 29, 2024
ecada26
Update CHANGELOG
egbot Aug 29, 2024
9a6a4a2
Merge pull request #1684 from BioKIC/3.1.-change-log-updates
egbot Aug 29, 2024
9b951c7
Merge pull request #1667 from BioKIC/Development
egbot Aug 29, 2024
532fbf1
Api occurrence 2024 08 (#1688)
egbot Sep 3, 2024
a6ea0c4
Reset gitignore
egbot Sep 10, 2024
412b245
Add API changes
egbot Sep 10, 2024
2017763
Add temp old css
egbot Sep 10, 2024
1d37be2
adjust page specific css
egbot Sep 10, 2024
0f5ff46
API modifications
egbot Sep 11, 2024
9674a80
NEON specific API adjustments
egbot Sep 11, 2024
800a93b
Resolve Occurrence class files
egbot Sep 11, 2024
57f07bf
Merge remote-tracking branch 'upstream/neon-merge-resolver' into 3.1-…
egbot Sep 13, 2024
96b31e6
Needed adjustments
egbot Sep 16, 2024
697749d
3.1.1 Release: Merge Hotfix branch into Master (#1747)
egbot Sep 26, 2024
db367a2
3.1.2 Release: Merge Hotfix branch into Master (#1770)
GregoryPost Oct 9, 2024
ce7b772
Merge branch '3.1-update-resolutions' into 3.1-update-resolved-2024-1…
egbot Oct 21, 2024
36ce1f8
Merge pull request #611 from BioKIC/3.1-update-resolved-2024-10-21
egbot Oct 21, 2024
9574170
Various adjustments to 3.1 integration
egbot Oct 23, 2024
324fdac
Misc adjustments
egbot Oct 23, 2024
35beffc
Minor css update
egbot Oct 24, 2024
e0c731f
Additional minor updates
egbot Oct 24, 2024
ee2b892
Misc adjustments
egbot Oct 30, 2024
3616118
Occurrence Determination adjustments
egbot Oct 31, 2024
258f4b9
Hotfix v.3.1.3 (#1821)
egbot Nov 4, 2024
3437af7
Misc 3.1 adjustments and fixes
egbot Nov 6, 2024
cc5caa3
Taxonomy upload debugging
egbot Nov 8, 2024
7ec1ba9
Merge branch '3.1-update-resolutions' into temp-3.1-merge-resolution
egbot Nov 12, 2024
633ebe4
Merge pull request #633 from BioKIC/temp-3.1-merge-resolution
egbot Nov 12, 2024
049373f
Merge pull request #635 from BioKIC/master
egbot Nov 12, 2024
279ddd6
Hotfix 3.1.4 (#1858)
egbot Nov 13, 2024
a14511d
Merge branch '3.1-update-resolutions' into temp-resolve-conflict-merg…
egbot Nov 13, 2024
2fe2dc5
Merge pull request #637 from BioKIC/temp-resolve-conflict-merge-into-…
egbot Nov 13, 2024
704c365
Add Alternative Identifier Ext to DwC-A export
egbot Nov 15, 2024
8fa5857
Fix misc bugs
egbot Nov 20, 2024
aa7b96b
Merge pull request #640 from BioKIC/dwca-identifier-ext
egbot Nov 20, 2024
1c424fa
Misc bug fixes
egbot Nov 20, 2024
2012354
Minor bug
egbot Nov 20, 2024
84ff316
download checkbox
kyule Nov 20, 2024
aef0710
Adjustment to determinations
egbot Nov 27, 2024
603c5a8
Merge pull request #645 from BioKIC/identifiers-ext-checkbox
egbot Dec 5, 2024
d8d9cf2
Collection Profile adjustment
egbot Dec 5, 2024
2537241
Misc bugs
egbot Dec 11, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 48 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch",
"port": 9003
},
{
"name": "Launch currently open script",
"type": "php",
"request": "launch",
"program": "${file}",
"cwd": "${fileDirname}",
"port": 0,
"runtimeArgs": [
"-dxdebug.start_with_request=yes"
],
"env": {
"XDEBUG_MODE": "debug,develop",
"XDEBUG_CONFIG": "client_port=${port}"
}
},
{
"name": "Launch Built-in web server",
"type": "php",
"request": "launch",
"runtimeArgs": [
"-dxdebug.mode=debug",
"-dxdebug.start_with_request=yes",
"-S",
"localhost:0"
],
"program": "",
"cwd": "${workspaceRoot}",
"port": 9003,
"serverReadyAction": {
"pattern": "Development Server \\(http://localhost:([0-9]+)\\) started",
"uriFormat": "http://localhost:%s",
"action": "openExternally"
}
}
]
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Symbiota has been generously funded by the National Science Foundation (DBI-0743

- Tested thoroughly on Linux and Windows operating systems
- Code should work with an PHP enabled web server, though central development and testing done using Apache HTTP Server
- Development and testing preformed using MariaDB. If you are using Oracle MySQL instead, please [report any issues](https://github.com/BioKIC/Symbiota/issues/new).

## INSTALLATION

Expand Down
43 changes: 43 additions & 0 deletions accessibility/module.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/templates/accessibility.' . $LANG_TAG . '.php'))
include_once($SERVER_ROOT . '/content/lang/templates/accessibility.en.php');
else include_once($SERVER_ROOT . '/content/lang/templates/accessibility.' . $LANG_TAG . '.php');
?>
<dialog id="accessibility-modal" class="accessibility-dialog" aria-label="<?= $LANG['A_ACCESSIBILITY_OPTIONS']; ?>">
<h1><?= $LANG['A_ACCESSIBILITY_OPTIONS']; ?></h1>
<p class="bottom-breathing-room-rel"><?= $LANG['A_ACCESSIBILITY_OPTIONS_DESCRIPTION']; ?></p>
<button type="button" class="btn btn-primary bottom-breathing-room-rel" onclick="toggleAccessibilityStyles()" id="accessibility-button" data-accessibility="accessibility-button">
<?= $LANG['A_TOGGLE_508_ON'] ?>
</button>
<form method="dialog">
<button type="submit" class="btn btn-primary"><?= $LANG['A_CLOSE']; ?></button>
</form>
</dialog>
<button id="accessibility-options-button" type="button" class="btn btn-primary accessibility-option-button">
<span class="button__item-container">
<?= $LANG['A_ACCESSIBILITY_OPTIONS']; ?>
<span>
<img alt="<?= $LANG['A_ACCESSIBILITY_ICON'] ?>" src="<?= $CLIENT_ROOT ?>/images/accessibility_FILL0_wght400_GRAD0_opsz24.svg" />
</span>
</span>
</button>
<script type="text/javascript">
const toggleOff508Text = "<?= $LANG['A_TOGGLE_508_OFF'] ?>";
const toggleOn508Text = "<?= $LANG['A_TOGGLE_508_ON'] ?>";
const clientRootPath = "<?= $CLIENT_ROOT ?>";
</script>
<link href="<?= $CSS_BASE_PATH ?>/symbiota/accessibility-controls.css?ver=<?= $CSS_VERSION ?>" type="text/css" rel="stylesheet">
<?php
if($ACCESSIBILITY_ACTIVE){
?>
<link href="<?= $CSS_BASE_PATH ?>/symbiota/accessibility-compliant.css?ver=<?= $CSS_VERSION ?>" type="text/css" rel="stylesheet" data-accessibility-link="accessibility-css-link" >
<link href="<?= $CSS_BASE_PATH ?>/symbiota/condensed.css?ver=<?= $CSS_VERSION ?>" type="text/css" rel="stylesheet" data-accessibility-link="accessibility-css-link" disabled >
<?php
} else{
?>
<link href="<?= $CSS_BASE_PATH ?>/symbiota/accessibility-compliant.css?ver=<?= $CSS_VERSION ?>" type="text/css" rel="stylesheet" data-accessibility-link="accessibility-css-link" disabled >
<link href="<?= $CSS_BASE_PATH ?>/symbiota/condensed.css?ver=<?= $CSS_VERSION ?>" type="text/css" rel="stylesheet" data-accessibility-link="accessibility-css-link" >
<?php
}
?>
<script src="<?= $CLIENT_ROOT ?>/js/symb/accessibilityUtils.js?ver=1b" type="text/javascript"></script>
13 changes: 13 additions & 0 deletions accessibility/rpc/toggle-styles.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
include_once('../../config/symbini.php');
$currentlyEnabledStylesheet = $_REQUEST['currentEnabledStylesheet'];
//session_start();
$accessiblePath = $CSS_BASE_PATH . '/symbiota/condensed.css?ver=14';
$condensedPath = $CSS_BASE_PATH . '/symbiota/accessibility-compliant.css?ver=14';
if($currentlyEnabledStylesheet === $condensedPath){
$_SESSION['active_stylesheet'] = $accessiblePath;
} else{
$_SESSION['active_stylesheet'] = $condensedPath;
}
echo $_SESSION['active_stylesheet'];
?>
14 changes: 8 additions & 6 deletions admin/index.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<?php
include_once('../config/symbini.php');
if($LANG_TAG == 'en' || !file_exists($SERVER_ROOT.'/content/lang/prohibit.'.$LANG_TAG.'.php')) include_once($SERVER_ROOT.'/content/lang/prohibit.en.php');
else include_once($SERVER_ROOT.'/content/lang/prohibit.'.$LANG_TAG.'.php');
header("Content-Type: text/html; charset=".$CHARSET);
header("Location: ".$CLIENT_ROOT."/index.php");
?>
<html>
<html lang="en">
<head>
<title>Forbidden</title>
<title><?php echo $LANG['FORBIDDEN']; ?></title>
<?php
include_once($SERVER_ROOT.'/includes/head.php');
?>
Expand All @@ -15,13 +17,13 @@
$displayLeftMenu = true;
include($SERVER_ROOT.'/includes/header.php');
?>
<div id="innertext">
<h1>Forbidden</h1>
<div role="main" id="innertext">
<h1><?php echo $LANG['FORBIDDEN']; ?></h1>
<div style="font-weight:bold;">
You don't have permission to access this page.
<?php echo $LANG['NO_PERMISSION']; ?>
</div>
<div style="font-weight:bold;margin:10px;">
<a href="<?php echo $CLIENT_ROOT; ?>/index.php">Return to index page</a>
<a href="<?php echo htmlspecialchars($CLIENT_ROOT, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE); ?>/index.php"><?php echo $LANG['RETURN']; ?></a>
</div>
</div>
<?php
Expand Down
30 changes: 15 additions & 15 deletions admin/portalindex.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
$isEditor = 0;
if($IS_ADMIN) $isEditor = 1;
?>
<html>
<html lang="en">
<head>
<title><?php echo $DEFAULT_TITLE; ?> Portal Index Control Panel</title>
<link href="<?php echo $CSS_BASE_PATH; ?>/jquery-ui.css" type="text/css" rel="stylesheet">
<?php
include_once($SERVER_ROOT.'/includes/head.php');
?>
<script src="<?php echo $CLIENT_ROOT; ?>/js/jquery.js" type="text/javascript"></script>
<script src="<?php echo $CLIENT_ROOT; ?>/js/jquery-ui.js" type="text/javascript"></script>
<script src="<?php echo $CLIENT_ROOT; ?>/js/jquery-3.7.1.min.js" type="text/javascript"></script>
<script src="<?php echo $CLIENT_ROOT; ?>/js/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
function validateHandshakeForm(f){
if(f.remotePath.value == ""){
Expand Down Expand Up @@ -52,7 +52,7 @@ function validateHandshakeForm(f){
<a href="../../index.php">Home</a> &gt;&gt;
<b><a href="portalindex.php">Portal Index Control Panel</a></b>
</div>
<div id="innertext">
<div role="main" id="innertext">
<?php
if(!isset($GLOBALS['ACTIVATE_PORTAL_INDEX'])){
echo 'This feature has not yet been activated within this portal';
Expand All @@ -62,8 +62,8 @@ function validateHandshakeForm(f){
echo '<fieldset>';
echo '<legend>Action Panel</legend>';
if($formSubmit == 'importProfile'){
if($collid = $portalManager->importProfile($portalID, $remoteID)) echo '<div><a href="../collections/misc/collprofiles.php?collid='.$collid.'" target="_blank">New snapshot collection created</a></div>';
else echo '<div>failed to insert new collections: '.$portalManager->getErrorMessage().'</div>';
if($collid = $portalManager->importProfile($portalID, $remoteID)) echo '<div><a href="../collections/misc/collprofiles.php?collid=' . htmlspecialchars($collid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">New snapshot collection created</a></div>';
else echo '<div>failed to insert new collections: ' . $portalManager->getErrorMessage() . '</div>';
}
elseif($formSubmit == 'initiateHandshake'){
if($resArr = $portalManager->initiateHandshake($remotePath)){
Expand All @@ -89,7 +89,7 @@ function validateHandshakeForm(f){
<div class="handshake-div"><a href="#" onclick="$('.handshake-div').toggle(); return false;">Initiate Handshake with External Portal</a></div>
<div class="handshake-div" style="display:none">
<form action="portalindex.php" method="post" onsubmit="return validateHandshakeForm(this)">
<div class="field-row"><label>Path to Remote Portal:</label> <input name="remotePath" type="text" value="<?php echo $remotePath; ?>" style="width: 500px" /></div>
<div class="field-row"><label for="remotePath">Path to Remote Portal</label> <input name="remotePath" id="remotePath" type="text" value="<?php echo $remotePath; ?>" style="width: 500px" /></div>
<div class="field-row"><button name="formsubmit" type="submit" value="initiateHandshake">Initiate Handshake</button></div>
</form>
</div>
Expand All @@ -108,7 +108,7 @@ function validateHandshakeForm(f){
$href = '';
if($fieldName=='urlRoot') $href = $fieldValue;
elseif($fieldName=='guid') $href = $portalArr['urlRoot'].'/api/v2/installation/ping';
if($href) echo '<a href="'.$href.'" target="_blank">';
if($href) echo '<a href="' . htmlspecialchars($href, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">';
echo $fieldValue;
if($href) echo '</a>';
echo '</div>';
Expand All @@ -130,7 +130,7 @@ function validateHandshakeForm(f){
}
}
$remoteUrl = $portalArr['urlRoot'].'/collections/misc/collprofiles.php?collid='.$remoteCollid;
echo '<div><label>Remote collection</label>: <a href="'.$remoteUrl.'" target="_blank">'.$remoteUrl.'</a></div>';
echo '<div><label>Remote collection</label>: <a href="' . htmlspecialchars($remoteUrl, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">' . htmlspecialchars($remoteUrl, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '</a></div>';
if($internalArr){
echo '<fieldset>';
echo '<legend>Internally Mapped Snapshot Collection</legend>';
Expand All @@ -139,7 +139,7 @@ function validateHandshakeForm(f){
echo '<div><label>Specimen count</label>: '.number_format($intArr['recordCnt']).'</div>';
echo '<div><label>Refresh date</label>: '.$intArr['uploadDate'].'</div>';
$internalUrl = $CLIENT_ROOT.'/collections/misc/collprofiles.php?collid='.$collid;
echo '<div><label>Internal collection</label>: <a href="'.$internalUrl.'" target="_blank">'.$internalUrl.'</a></div>';
echo '<div><label>Internal collection</label>: <a href="' . htmlspecialchars($internalUrl, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">' . htmlspecialchars($internalUrl, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '</a></div>';
if($importProfile = $portalManager->getDataImportProfile($collid)){
foreach($importProfile as $uspid => $profileArr){
echo '<hr/>';
Expand All @@ -148,8 +148,8 @@ function validateHandshakeForm(f){
echo '<div><label>Path</label>: '.$profileArr['path'].'</div>';
echo '<div><label>Query string</label>: '.$profileArr['queryStr'].'</div>';
echo '<div><label>Stored procedure (cleaning)</label>: '.$profileArr['cleanUpSp'].'</div>';
echo '<div>Display all <a href="../collections/admin/specuploadmanagement.php?collid='.$collid.'" target="_blank">Import Profiles</a></div>';
echo '<div>Initiate <a href="../collections/admin/specuploadmap.php?uploadtype=13&uspid='.$uspid.'&collid='.$collid.'" target="_blank">Data Import</a></div>';
echo '<div>Display all <a href="../collections/admin/specuploadmanagement.php?collid=' . htmlspecialchars($collid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">Import Profiles</a></div>';
echo '<div>Initiate <a href="../collections/admin/specuploadmap.php?uploadtype=13&uspid=' . htmlspecialchars($uspid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '&collid=' . htmlspecialchars($collid, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">Data Import</a></div>';
echo '</div>';
}
}
Expand All @@ -176,14 +176,14 @@ function validateHandshakeForm(f){
echo '<tr><th>ID</th><th>Institution Code</th><th>Collection Code</th><th>Collection Name</th><th>Dataset Type</th><th>Management</th><th>Mapped Internally</th></tr>';
foreach($collList as $collArr){
echo '<tr>';
echo '<td><a href="portalindex.php?portalid='.$portalID.'&remoteid='.$collArr['collID'].'">'.$collArr['collID'].'</a></td>';
echo '<td><a href="portalindex.php?portalid=' . htmlspecialchars($portalID, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '&remoteid=' . htmlspecialchars($collArr['collID'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '">' . htmlspecialchars($collArr['collID'], ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '</a></td>';
echo '<td>'.$collArr['institutionCode'].'</td>';
echo '<td>'.$collArr['collectionCode'].'</td>';
echo '<td>'.$collArr['collectionName'].'</td>';
echo '<td>'.$collArr['collType'].'</td>';
echo '<td>'.$collArr['managementType'].'</td>';
if(isset($collArr['internal']) && $collArr['internal'])
$internal = '<a href="'.$CLIENT_ROOT.'/collections/misc/collprofiles.php?collid='.key($collArr['internal']).'" target="_blank">Yes</a>';
$internal = '<a href="' . htmlspecialchars($CLIENT_ROOT, ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '/collections/misc/collprofiles.php?collid=' . htmlspecialchars(key($collArr['internal']), ENT_COMPAT | ENT_HTML401 | ENT_SUBSTITUTE) . '" target="_blank">Yes</a>';
else $internal = 'No';
echo '<td>'.$internal.'</td>';
echo '</tr>';
Expand Down Expand Up @@ -215,4 +215,4 @@ function validateHandshakeForm(f){
include($SERVER_ROOT.'/includes/footer.php');
?>
</body>
</html>
</html>
Loading