Commits on Source (94)
-
Tyler R Lemburg authored
Google is deprecating version 1 of their custom search element API sometime in April. While we don't generate actual elements using their code, we use their javascript libraries to call the search. This change updates the code for version 2, removing the deprecation warning and keeping things in compliance. Before working with this, read https://developers.google.com/custom-search/docs/element very carefully. The flow of the Google Search as it relates to UNL_Search is: 1) end-scripts.tpl.php is rendered with variables that include the custom search engine ID 2) This script, using search.js (or search.min.js), adds the google search javascript to the end of the page asynchronously. It also gives the callback for its loading as window.searchInit, which loads the UNLSearch.initialize function. 3) This sets up the various search capabilities, binds callbacks onto those actions, and has all the JS functions that we operate on in the search. I didn't need to use the <gsce> element as described in the docs, as we already have a text box to search, and I bind the results to the unl_results div (local_results if a site-search is executed). Lastly, this new code does not use the "Linked Search Engine" specification. Instead, the as_sitesearch parameter is passed into the Google API, or, if a specific Custom Search Engine is specified (cx parameter), that is used vs. our regular UNL one.
-
Tyler R Lemburg authored
-
Tyler R Lemburg authored
-
Tyler R Lemburg authored
-
Michael Fairchild authored
-
Michael Fairchild authored
-
Michael Fairchild authored
Web Audit fixes See merge request !8
-
Michael Fairchild authored
-
Eric Rasmussen authored
-
Eric Rasmussen authored
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
- Update grunt, grunt-contrib-clean, grunt-contrib-requirejs, grunt-contrib-watch, lodash - Install autoprefixer, cssnano, grunt-postcss, grunt-sass, node-sass - Uninstall grunt-contrib-less, less-plugin-autoprefix, less-plugin-clean-css
-
Ryan Dee authored
- Remove Less tasks - Add Sass tasks - Begin work on importing DCF mixins (temporarily commented out)
-
Ryan Dee authored
- Adjust indentation - Add ‘unl’ class to <body> element
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
- Add utility classes for wrapper, grid, padding, font-size, font-style, flexbox, list-style
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
- Restore 4.1-specific Less tasks in Gruntfile - Append ‘-5.0’ to CSS files compiled from Sass
-
Ryan Dee authored
-
Eric Rasmussen authored
Initial conversion from 4.1 to 5.0 See merge request iim/UNL_Search!9
-
Eric Rasmussen authored
-
Eric Rasmussen authored
1822826a moved it last
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
Use ‘core’ instead of ‘all’
-
Jeff Sturek authored
Remove border from Google results tables, update links to CSS See merge request iim/UNL_Search!11
-
-
Eric Rasmussen authored
Implement 5.0 See merge request iim/UNL_Search!10
-
-
Jeff Sturek authored
Update styles for 5.0 See merge request iim/UNL_Search!17
-
Eric Rasmussen authored
-
Jeff Sturek authored
Fix Chrome iOS embed iframe issue See merge request iim/UNL_Search!18
-
Ryan Dee authored
-
Jeff Sturek authored
Remove target="_blank" from search results links See merge request iim/UNL_Search!20
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
-
Ryan Dee authored
-
Jeff Sturek authored
Optimize search form background image See merge request iim/UNL_Search!21
-
Jeff Sturek authored
-
Jeff Sturek authored
Add back _blank functionality removed recently See merge request iim/UNL_Search!22
-
Jeff Sturek authored
-
Eric Rasmussen authored
Replace IIM references with DXG See merge request iim/UNL_Search!23
-
Jeff Sturek authored
-
Jeff Sturek authored
Add deprecated CSS See merge request !24
-
Jeff Sturek authored
-
Jeff Sturek authored
Implement 5.1 WDN Template See merge request !25
-
Jeff Sturek authored
-
Jeff Sturek authored
Implement DCF Tabs See merge request !27
-
-
Jeff Sturek authored
Update Google Search results style overrides See merge request !28
-
Ryan Dee authored
-
Jeff Sturek authored
Fix search results tab font-size, letter-spacing, margin See merge request !29
-
Jeff Sturek authored
-
Jeff Sturek authored
DCF Tab Search Bug Fixes See merge request !30
-
Jeff Sturek authored
-
Jeff Sturek authored
Support WDN templates 5.2 See merge request !31
-
Jeff Sturek authored
-
Jeff Sturek authored
Update embed to 5.2 See merge request !32
-
Jeff Sturek authored
-
Jeff Sturek authored
Support WDN version 5.3 See merge request !33
-
Jeff Sturek authored
-
Jeff Sturek authored
Allow min.js* files in commit See merge request !34
-
Jeff Sturek authored
-
Jeff Sturek authored
Add try/catch to ignore DCFUtility errors See merge request !35
-
Jeff Sturek authored
-
Jeff Sturek authored
Support DCF 3.0+ and 2.0 See merge request !36
-
Jeff Sturek authored
-
Jeff Sturek authored
Open directory links in new tab See merge request !37
-
Jeff Sturek authored
-
Jeff Sturek authored
Handle department links See merge request !38
-
Jeff Sturek authored
-
Jeff Sturek authored
Fix absolute requirejs issue with import dcf-utility See merge request !39
-
Jeff Sturek authored
-
Jeff Sturek authored
Dark Mode Support Updates See merge request !40
-
Ryan Dee authored
- Remove border from thumbnails - Apply object-fit to thumbnails - Adjust pagination border color and spacing - Adjust color of incorrect spelling text and links
-
Ryan Dee authored
-
Jeff Sturek authored
-
Jeff Sturek authored
-
Jeff Sturek authored
-
Jeff Sturek authored
-
Jeff Sturek authored
-
Jeff Sturek authored
Remove WDN references See merge request !42
-
Jeff Sturek authored
-
Jeff Sturek authored
Implement site notice See merge request !43
-
Thomas Neumann authored
-
Thomas Neumann authored
Logging errors See merge request !44
-
Thomas Neumann authored
Showing
- .gitignore 3 additions, 2 deletions.gitignore
- .gitlab-ci.yml 51 additions, 0 deletions.gitlab-ci.yml
- Gruntfile.js 53 additions, 31 deletionsGruntfile.js
- README.md 2 additions, 0 deletionsREADME.md
- composer.json 1 addition, 1 deletioncomposer.json
- composer.lock 61 additions, 154 deletionscomposer.lock
- config.sample.php 9 additions, 1 deletionconfig.sample.php
- package-lock.json 4470 additions, 0 deletionspackage-lock.json
- package.json 13 additions, 8 deletionspackage.json
- www/css/search-5.0.css 2 additions, 0 deletionswww/css/search-5.0.css
- www/css/search-5.0.css.map 1 addition, 0 deletionswww/css/search-5.0.css.map
- www/css/search-google-5.0.css 2 additions, 0 deletionswww/css/search-google-5.0.css
- www/css/search-google-5.0.css.map 1 addition, 0 deletionswww/css/search-google-5.0.css.map
- www/css/search-google.css 2 additions, 0 deletionswww/css/search-google.css
- www/css/search.css 2 additions, 0 deletionswww/css/search.css
- www/failCount.php 43 additions, 0 deletionswww/failCount.php
- www/images/050419.jpg 0 additions, 0 deletionswww/images/050419.jpg
- www/images/search-bg-1280.jpg 0 additions, 0 deletionswww/images/search-bg-1280.jpg
- www/images/search-bg-1280.webp 0 additions, 0 deletionswww/images/search-bg-1280.webp
- www/images/search-bg-1920.jpg 0 additions, 0 deletionswww/images/search-bg-1920.jpg
.gitlab-ci.yml
0 → 100644
... | ... | @@ -5,7 +5,7 @@ |
} | ||
}, | ||
"require": { | ||
"unl/php-wdn-templates": "^4.1", | ||
"unl/php-wdn-templates": "^5.3", | ||
"ezyang/htmlpurifier": "^4.7" | ||
} | ||
} |
package-lock.json
0 → 100644
This diff is collapsed.
... | ... | @@ -4,17 +4,22 @@ |
"description": "A web application for searching UNL websites via Google Custom Search.", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-clean": "^0.6.0", | ||
"grunt-contrib-less": "^1.0.1", | ||
"grunt-contrib-requirejs": "^0.4.4", | ||
"autoprefixer": "^9.1.1", | ||
"cssnano": "^4.0.5", | ||
"grunt": "^1.1.0", | ||
"grunt-contrib-clean": "^1.1.0", | ||
"grunt-contrib-less": "^2.0.0", | ||
"grunt-contrib-requirejs": "^1.0.0", | ||
"grunt-contrib-uglify": "^0.9.2", | ||
"grunt-contrib-watch": "^0.6.1", | ||
"grunt-curl": "^2.2.0", | ||
"less-plugin-autoprefix": "^1.4.2", | ||
"grunt-contrib-watch": "^1.1.0", | ||
"grunt-curl": "^2.5.1", | ||
"grunt-postcss": "^0.9.0", | ||
"grunt-sass": "^3.0.1", | ||
"less-plugin-autoprefix": "^2.0.0", | ||
"less-plugin-clean-css": "^1.5.1", | ||
"load-grunt-tasks": "^3.2.0", | ||
"lodash": "^3.10.1" | ||
"lodash": "^3.10.1", | ||
"node-sass": "^4.14.1" | ||
}, | ||
"scripts": {}, | ||
"repository": { | ||
... | ... |
www/css/search-5.0.css
0 → 100644
www/css/search-5.0.css.map
0 → 100644
www/css/search-google-5.0.css
0 → 100644
www/css/search-google-5.0.css.map
0 → 100644
www/css/search-google.css
0 → 100644
www/css/search.css
0 → 100644
www/failCount.php
0 → 100644
www/images/050419.jpg
deleted
100644 → 0
40.4 KiB
www/images/search-bg-1280.jpg
0 → 100644
38.2 KiB
www/images/search-bg-1280.webp
0 → 100644
15.6 KiB
www/images/search-bg-1920.jpg
0 → 100644
63.6 KiB