Adam Townsend
5bce31baf2
refactored missing link scenario to make more sense
...
+ 404 code, stay on the current page, and load the form
+ also simplified the logic for the create action if the link doesn't
already exist
2023-10-07 21:11:12 -07:00
Adam Townsend
c7fee27623
update for missing link scenario
...
+ if the link isn't found, don't redirect it, keep it on the same page
+ it should have a status code of 404
+ it should have the form fields as well
+ added page status check
2023-10-07 21:10:16 -07:00
Adam Townsend
f8499a79c2
check if the link exists, redirects home if it doesn't
2023-10-07 13:38:10 -07:00
Adam Townsend
b97ee3f3bb
use the correct clause format since staying on site
2023-10-07 13:37:51 -07:00
Adam Townsend
beb9b0c14a
added new scenario
2023-10-07 13:27:00 -07:00
bucky
c874426f2e
Merge pull request 'simplecov-jenkins-output' ( #17 ) from simplecov-jenkins-output into master
...
Reviewed-on: #17
2023-10-07 09:27:01 -07:00
Adam Townsend
c77cf2cb78
trying to get assets to load as well, and keep previous reports
2023-10-07 09:13:46 -07:00
Adam Townsend
02e95ae916
added report results stage that includes the step to publish the
...
simplecov results to Jenkins
2023-10-07 09:03:39 -07:00
bucky
0f0838ae5a
Merge pull request 'jenkins-file' ( #15 ) from jenkins-file into master
...
Reviewed-on: #15
2023-10-06 20:49:11 -07:00
Adam Townsend
47e5a093b4
added tests stage to jenkinsfile and added a note to the readme about pkgconf
2023-10-06 20:00:04 -07:00
Adam Townsend
a0ba8ba9f3
wrap steps in the steps block
2023-10-06 18:42:44 -07:00
Adam Townsend
c0a0548662
added dependencies stage
2023-10-06 18:40:51 -07:00
Adam Townsend
2448c93fa7
wrap setting the env var in a script wrapper
2023-10-06 18:35:00 -07:00
Adam Townsend
e720761106
try it again
2023-10-06 18:33:30 -07:00
Adam Townsend
450dc26df7
another attempt
2023-10-06 18:11:00 -07:00
Adam Townsend
7a32edb6e3
wrap it in an env var and add it to the env file
2023-10-06 18:09:17 -07:00
Adam Townsend
6160174c5d
generate secret in rb file
2023-10-06 18:07:07 -07:00
Adam Townsend
d972cc2c3b
another shot
2023-10-06 18:04:54 -07:00
Adam Townsend
6795508d3e
simplified
2023-10-06 17:42:48 -07:00
Adam Townsend
b5af621ee2
another shot
2023-10-06 17:41:29 -07:00
Adam Townsend
a4fbdeabe3
going back to the old style
2023-10-06 17:39:45 -07:00
Adam Townsend
3a71e58e22
trying to run the script, nothing else
2023-10-06 17:35:21 -07:00
Adam Townsend
ef9cef8915
wrap it in a script
2023-10-06 17:25:53 -07:00
Adam Townsend
ee5a6e673b
attempting to use variables
2023-10-06 17:23:56 -07:00
Adam Townsend
721ce33adb
trying by setting the output of the base64 generation to a jenkins variable to use later
2023-10-06 16:59:16 -07:00
Adam Townsend
e1d0c6162d
trying again
2023-10-06 16:49:03 -07:00
Adam Townsend
435eeb9601
another quotes try
2023-10-06 14:02:54 -07:00
Adam Townsend
95eb1fea4c
trying with different quotes around commands
2023-10-06 14:01:55 -07:00
Adam Townsend
03eafcdf4c
reset the file on the initial append
2023-10-06 13:59:12 -07:00
Adam Townsend
38f92d83c3
add app session secret generation to the mix
2023-10-06 13:57:42 -07:00
Adam Townsend
6c40ae6311
syntax error in Jenkinsfile, missing " at the end of the line to add to the env file
2023-10-06 13:47:11 -07:00
Adam Townsend
5cc79ed54d
added line to add db name to the env file
2023-10-06 13:41:53 -07:00
Adam Townsend
b70b0846a1
syntax error in Jenkinsfile
2023-10-06 12:04:46 -07:00
Adam Townsend
de61253db6
added jenkinsfile with initial step for init
2023-10-06 12:02:38 -07:00
Adam Townsend
c93ac10288
fixed vertical scrolling issue with page and margin top on main
2023-10-05 13:55:09 -07:00
Adam Townsend
14f5f51d1e
made spacing for link a little nicer for smaller screens
2023-10-05 11:41:40 -07:00
Adam Townsend
79b12ac4b7
updates for mobile use
2023-10-05 11:03:22 -07:00
Adam Townsend
8430e828e9
adjusted UI more
...
+ set input and button to be wider
+ set min height on the main to be longer to look better between views
+ bumped shortened url down some to fill the gap more
2023-10-05 08:44:41 -07:00
Adam Townsend
9ca0e9ca48
adjusted styles a little more
...
+ rearranged things some
+ changed button colors
2023-10-05 08:32:26 -07:00
Adam Townsend
67e99df83e
set transition time
2023-10-04 18:55:12 -07:00
bucky
d3ab78b17d
Merge pull request 'more-ui-updates' ( #13 ) from more-ui-updates into master
...
Reviewed-on: #13
2023-10-04 18:53:06 -07:00
Adam Townsend
ce89b584cb
more updates!
...
+ disable autocomplete on the url field
+ added custom colors to make styling a little easier
+ moved body to style block, and added a nice gradient
+ made header a link, removed the "home" link on created route
+ added some nice ui changes for button and input
2023-10-04 18:47:45 -07:00
Adam Townsend
cfe2080509
added some more colorized styles for the UI to give it a little more
...
interactive niceness
2023-10-04 11:28:31 -07:00
Adam Townsend
9c5fa5366f
ignore the coverage directory from simplecov output
2023-10-04 11:28:07 -07:00
bucky
a0be5c699a
Merge pull request 'code coverage reporting and test for the redirect function' ( #12 ) from add-flash into master
...
Reviewed-on: #12
2023-10-03 18:32:12 -07:00
Adam Townsend
81b12b5d6f
added simplecov and a new test
...
+ simplecov is a test coverage tool to show what code is covered and
where holes are
+ added newest test to validate that the redirect url works as expected
2023-10-03 18:29:03 -07:00
Adam Townsend
b3d5c70c8b
added simplecov for collecting test results
2023-10-03 18:27:29 -07:00
bucky
be17e2f146
Merge pull request 'add-flash' ( #11 ) from add-flash into master
...
Reviewed-on: #11
2023-10-03 16:12:15 -07:00
Adam Townsend
80fae88228
sqlite3 note
2023-10-03 16:11:01 -07:00
Adam Townsend
d93a8df199
formatting
2023-10-03 16:08:53 -07:00