From 320cc3ee5dbae26842b19ba76670e5dc86ca098e Mon Sep 17 00:00:00 2001 From: ejunga Date: Mon, 4 Aug 2025 11:47:17 -0400 Subject: [PATCH 1/3] Add new queues --- tdx-enhanced.js | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 5df88c2..80c805c 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -12,8 +12,8 @@ // @match https://purdue.teamdynamixpreview.com/TDNext* // @require https://momentjs.com/downloads/moment.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/tinycolor/1.6.0/tinycolor.min.js -// @downloadURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/main/tdx-enhanced.js -// @updateURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/main/tdx-enhanced.js +// @downloadURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/beta/tdx-enhanced.js +// @updateURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/beta/tdx-enhanced.js // @grant GM_getResourceText // @grant GM_addStyle // @run-at document-end @@ -30,6 +30,7 @@ var colorsByQueue = { 'aae': {'bg' : '#7030A0', 'txt' : 'white' }, 'abe' : {'bg' : '#256f78', 'txt' : 'white'}, + 'ag' : {'bg' : '#99CC00', 'txt' : 'white'}, 'bidc' : {'bg' : '#C5FFC5', 'txt' : 'black'}, 'biology' : {'bg' : '#67c1ee', 'txt' : 'black'}, 'bme' : {'bg' : '#0D69FF', 'txt' : 'white'}, @@ -39,17 +40,21 @@ 'coea' : {'bg' : '#00D6BD', 'txt' : 'black'}, 'coep' : {'bg' : '#FFDDB7', 'txt' : 'black'}, 'comp.sci.' : {'bg' : '#772212', 'txt' : 'white'}, + 'cos admin' : {'bg' : '#ddaa33', 'txt' : 'black'}, 'dp' : {'bg' : '#0070A8', 'txt' : 'white'}, 'doe': {'bg' : 'red', 'txt' : 'white'}, 'ece' : {'bg' : '#FF6600', 'txt' : 'white'}, 'ecnaccts' : {'bg' : '#98A4AE', 'txt' : 'white'}, - 'students' : {'bg' : '#98A4AE', 'txt' : 'white'}, 'eaps' : {'bg' : '#629454', 'txt': 'white'}, 'eee' : {'bg' : '#F66A6A', 'txt' : 'white'}, 'ene': {'bg' : '#A45CD0', 'txt': 'white' }, + 'engineering' : {'bg' : '#FFD900', 'txt' : 'black'}, + 'engr - south' : {'bg' : '#663300', 'txt' : 'white'}, + 'engr - north' : {'bg' : '#663300', 'txt' : 'white'}, 'epics': {'bg' : '#E399E3', 'txt' : 'black'}, 'flex' : {'bg' : '#A7ECFF', 'txt' : 'black'}, 'helpdesk' : {'bg' : '#98A4AE', 'txt' : 'white'}, + 'hhs' : {'bg' : '#CFB991', 'txt' : 'black'}, 'ie' : {'bg' : '#FFB7B7', 'txt' : 'black'}, 'imi' : {'bg' : '#FFB96D', 'txt' : 'black'}, 'apple' : {'bg' : '#666666', 'txt' : 'white'}, @@ -59,16 +64,21 @@ 'mse': {'bg' : '#EFD3F5', 'txt' : 'black'}, 'ne': {'bg' : '#af6377', 'txt' : 'white'}, 'pari' : {'bg' : '#3f5c8a', 'txt': 'white'}, + 'pharmacy' : {'bg' : '#FF33FF', 'txt' : 'white'}, 'physics' : {'bg' : '#07622f', 'txt': 'white'}, //'potr' : {'bg' : '#663300', 'txt' : 'white'}, 'president' : {'bg' : '#cfb991', 'txt' : 'black'}, + 'sacc' : {'bg' : '#434343', 'txt' : 'white'}, + 'science' : {'bg' : '#22dd94', 'txt' : 'black'}, 'sitemgrs' : {'bg' : '#98A4AE', 'txt' : 'white'}, 'stat' : {'bg' : '#ff6f44', 'txt' : 'white'}, + 'students' : {'bg' : '#98A4AE', 'txt' : 'white'}, 'swt' : {'bg' : '#000ED6', 'txt' : '#FFEE00'}, 'polytechnic' : {'bg' : 'black', 'txt' : 'white'}, 'cnit' : {'bg' : '#434343', 'txt' : 'white'}, 'uds' : {'bg' : '#98A4AE', 'txt' : 'white'}, 'udsprojects': {'bg' : '#98A4AE', 'txt' : 'white'}, + 'vet' : {'bg' : '#CCFFFF', 'txt' : 'black'}, //'wang' : {'bg' : '#000099', 'txt' : 'white'}, 'web' : {'bg' : '#B46086', 'txt' : 'white'}, 'windows' : {'bg' : '#b77729', 'txt' : 'white'}, From f595b902e97ac55796556cf8e74172d2cc517bd0 Mon Sep 17 00:00:00 2001 From: ejunga Date: Thu, 7 Aug 2025 14:40:16 -0400 Subject: [PATCH 2/3] bump version number --- tdx-enhanced.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 80c805c..5b00199 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -1,7 +1,7 @@ // ==UserScript== // @name tdx-enhanced // @namespace purdue-it -// @version 2025-07-31-01 +// @version 2025-08-07-01 // @description enhanced tdx coloring & formatting. follows system color scheme. // @author Purdue STEM IT - it@purdue.edu // @match https://service.purdue.edu/TDWorkManagement* From 7ae444372100da18b2d0893a0d9f9955130de076 Mon Sep 17 00:00:00 2001 From: ejunga Date: Thu, 7 Aug 2025 14:45:55 -0400 Subject: [PATCH 3/3] change update source --- tdx-enhanced.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 5b00199..c8cf952 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -12,8 +12,8 @@ // @match https://purdue.teamdynamixpreview.com/TDNext* // @require https://momentjs.com/downloads/moment.min.js // @require https://cdnjs.cloudflare.com/ajax/libs/tinycolor/1.6.0/tinycolor.min.js -// @downloadURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/beta/tdx-enhanced.js -// @updateURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/beta/tdx-enhanced.js +// @downloadURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/main/tdx-enhanced.js +// @updateURL https://raw.github.itap.purdue.edu/ECN/tdx-userscript/refs/heads/main/tdx-enhanced.js // @grant GM_getResourceText // @grant GM_addStyle // @run-at document-end