bucky
1822004460
use the hostname of the artifacts repository
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-19 07:58:59 -08:00
bucky
b9345f9cb5
removed extra line
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-12-18 20:19:55 -08:00
bucky
166c68570d
v1.0.1
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 20:16:52 -08:00
bucky
28fc8b3b86
updated Gemfile with falcon instead of puma
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 20:15:33 -08:00
bucky
2c7a18c374
create the directory before syncingit
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-12-18 18:38:18 -08:00
bucky
0a3f6c5fab
try with ssh-agent
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 18:11:28 -08:00
bucky
ca29051dc2
try to rsync with the user/key pair
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 17:50:42 -08:00
bucky
0b51b52b84
echo the file to see what's in there/how to handle it
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-12-18 17:45:55 -08:00
bucky
4659942800
use user/key pair
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-12-18 17:33:09 -08:00
bucky
6d0f594bba
set file in the stage it is used in
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 17:15:30 -08:00
bucky
4ca73cc3ca
use artifacts key
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 16:59:52 -08:00
bucky
1f96facbf2
use the ZIP FILE variable not ZIP_FILE text
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 15:57:02 -08:00
bucky
e362cef9ba
added SHA256 and sync both the sig and the zip
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 15:51:41 -08:00
bucky
25d94bbfc2
attempt to use rsync to sync data to artifact repo jail
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-12-18 13:09:52 -08:00
bucky
40e3703650
get the actual version, not the line
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-10-24 18:11:12 -07:00
bucky
21eeb9db72
use version instead of date
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-10-24 18:01:15 -07:00
bucky
2cbe5f85b0
moved bundle-audit inside test group, added version file
2023-10-24 17:53:56 -07:00
bucky
b62d45d0d8
Merge pull request 'prod-artifact-when-good' ( #34 ) from prod-artifact-when-good into master
...
Gitea Bucky/url-shortener/pipeline/head This commit looks good
Reviewed-on: #34
2023-10-23 15:54:27 -07:00
bucky
0dc792b0bf
added try catch wrappers around other parts. if they fail, don't build
...
Gitea Bucky/url-shortener/pipeline/head This commit looks good
the deliverable
2023-10-23 15:48:42 -07:00
bucky
5f4209dbe8
testing skipping building the artifact at the end (and cleanup of it)
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-10-23 15:10:16 -07:00
bucky
fbba67a9bd
install, not clean, since it changed the bundle location
Gitea Bucky/url-shortener/pipeline/head This commit looks good
2023-10-23 15:05:20 -07:00
bucky
5cd296cb70
when is outside the steps
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-10-23 15:03:45 -07:00
bucky
7c0f6eb603
limit building deployment artifact
...
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
+ added buildArtifact variable and set it to true
+ in auditing stage, if there's an error, set buildArtifact to false
+ in build artifact stage, if buildArtifact is true, build it
2023-10-23 14:58:02 -07:00
bucky
de3dcc48ab
removed the when, and removed unnecessary rm command
Gitea Bucky/url-shortener/pipeline/head There was a failure building this commit
2023-10-23 12:31:29 -07:00
bucky
958091e000
see if we can access the buildResult status to use it
2023-10-23 11:32:02 -07:00
bucky
35583e404e
move the local path in the build prod artifact stage to make the tests
...
quicker
2023-10-23 07:43:30 -07:00
bucky
0e9342fab6
only build the production environment when the previous steps all executed successfully
2023-10-23 07:41:52 -07:00
bucky
ca4182d798
Merge pull request 'added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject' ( #33 ) from build-deployment-artifact into master
...
Reviewed-on: #33
closes bucky/url-shortener#32
2023-10-23 07:31:15 -07:00
bucky
7d04c46728
added bundle config to only use prod gems and bundle clean to remove unnecessary gems from the current poject
2023-10-23 07:18:31 -07:00
bucky
4490ed3e7c
output something from the bundler audit to see in the reports
2023-10-22 16:22:18 -07:00
bucky
30c1192e27
Merge pull request 'audit' ( #31 ) from audit into master
...
Reviewed-on: #31
closes bucky/url-shortener#30
2023-10-22 16:06:15 -07:00
bucky
6e30705810
rubocop autofixed quotes
2023-10-22 15:57:57 -07:00
bucky
d7c9105995
added audit checks, this should help keep things secure
2023-10-22 15:51:16 -07:00
bucky
a732eb2a61
added bundle-audit and ruby_audit gems
2023-10-22 15:48:40 -07:00
bucky
c29d53a33b
Merge pull request 'rubocop' ( #29 ) from rubocop into master
...
Reviewed-on: #29
closes bucky/url-shortener#28
2023-10-22 15:11:23 -07:00
bucky
3fd8e8c630
wrap the string in single quotes
2023-10-22 15:00:59 -07:00
bucky
950c358ae5
another try
2023-10-22 14:55:06 -07:00
bucky
f81199e31b
maybe this will clean up a few things
2023-10-22 14:15:27 -07:00
bucky
bf1fefd1bc
still worknig on env file, and adding logic to not build if the tests fail
2023-10-22 14:05:51 -07:00
bucky
c51a6782d9
another shot at cleaning up the .env.rb file
2023-10-22 13:50:58 -07:00
bucky
795447e029
attempting to clean up the .env.rb file
2023-10-22 13:43:12 -07:00
bucky
7caf25c4d0
don't kill it if linting breaks, mark it as unstable
2023-10-22 13:32:39 -07:00
bucky
3fa1de5e4e
install bundled gems in /vendor, and use bundle exec to run them
2023-10-22 13:27:07 -07:00
bucky
f86da2ed6f
forgot to wrap the steps in a steps block
2023-10-22 13:19:30 -07:00
bucky
282a07c5fb
added rubocop linting section with output for reports and clean up
...
rubocop config
2023-10-22 13:16:20 -07:00
bucky
bf6ed14b5e
custom parts for rubocop to run. don't worry about block length in many
...
parts. hide extension suggestions
2023-10-22 13:15:09 -07:00
bucky
7d35133e43
require capybara and rspec parts needed for tests to run instead of
...
including them. rubocop autofixed formatting
2023-10-22 13:14:23 -07:00
bucky
c505012b00
rubocop added frozen string literal comment
2023-10-22 13:14:02 -07:00
bucky
4f54124519
rubocop autofixed formatting
2023-10-22 13:13:27 -07:00
bucky
18e8eac2ab
rubocop autofixed formatting
2023-10-22 13:12:48 -07:00
bucky
5abf07d0c7
rubocop formatting fixes
2023-10-22 13:07:07 -07:00
bucky
48ffdf560b
frozen string literal for rubocop
2023-10-22 13:06:12 -07:00
bucky
e0392f2483
added rubocop
2023-10-22 13:05:43 -07:00
bucky
15a5017c86
set up to run with only the freebsd and ruby labeled agent(s)
2023-10-18 13:08:41 -07:00
bucky
dd5caa4056
updated README, swapped Falcon for Puma for now, and ignored more files
2023-10-17 21:53:12 -07:00
bucky
360ddbe6d2
include the branch name in the zip, so it can be identified a little easier later
2023-10-17 21:45:14 -07:00
bucky
b3b886f0b3
Merge pull request 'simplify-secret' ( #27 ) from simplify-secret into master
...
Reviewed-on: #27
2023-10-17 21:43:19 -07:00
bucky
93aa007c14
removed secret.rb, it's no longer needed
2023-10-17 21:40:39 -07:00
bucky
4e32f4a60d
use the escaped quotes for it to work correctly
2023-10-17 21:39:15 -07:00
bucky
2759880a53
remove env.
2023-10-17 21:37:45 -07:00
bucky
7bc1a852db
swap quotes on the db name
2023-10-17 21:36:56 -07:00
bucky
00119f9723
use env.DB_NAME to access the environment variable
2023-10-17 21:32:30 -07:00
bucky
ff2a0e867d
swap the quotes because single quotes doesn't exec the ruby command
2023-10-17 21:30:53 -07:00
bucky
1fae85ff9d
moved the init step into one shell command to load it all, and don't use
...
the secret.rb file
2023-10-17 21:26:23 -07:00
bucky
10fe82ab6a
Merge pull request 'archive-deliverable' ( #26 ) from archive-deliverable into master
...
Reviewed-on: #26
2023-10-17 18:12:37 -07:00
bucky
9812a92d59
remove ls
2023-10-17 18:09:17 -07:00
bucky
e8b12c307a
include ruby version
2023-10-17 18:06:36 -07:00
bucky
ae00ac8672
forgot the .rb
2023-10-17 18:04:29 -07:00
bucky
bf92201721
removed some unnecessary lines, and check what's in the current
...
directory
2023-10-17 18:02:40 -07:00
bucky
1f2e3d41dd
syntax error extra - in there
2023-10-17 18:00:46 -07:00
bucky
f31b6da49c
include the .env file and remove the scret.rb file
2023-10-17 17:58:40 -07:00
bucky
f32d153b69
simplified things?
2023-10-17 17:46:24 -07:00
bucky
15d9ade2cf
remove EXPORT
2023-10-17 17:42:17 -07:00
bucky
4587c35806
just set it in the script
2023-10-17 17:40:23 -07:00
bucky
340614dadc
echo outside catch error
2023-10-17 17:37:35 -07:00
bucky
8a0fef63b2
another try
2023-10-17 17:35:37 -07:00
bucky
8691d19e8d
dump the zip file, let's see how it's working?
2023-10-17 17:32:50 -07:00
bucky
35d196bdc2
another shot accessing the new env var
2023-10-17 17:28:41 -07:00
bucky
e2c3cb7035
access the ZIP_FILE variable properly?
2023-10-17 17:25:02 -07:00
bucky
a69b3e4226
missed quote
2023-10-17 17:22:00 -07:00
bucky
36285b060b
better try to set the environment
2023-10-17 17:19:31 -07:00
bucky
a0a9e84b91
another try
2023-10-17 17:14:33 -07:00
bucky
01d9f9a21c
another shot at setting the zip file name
2023-10-17 17:12:16 -07:00
bucky
621a777a46
update env vars
...
+ removed the app session secret. it's used where it is set
+ added zip file to make it easier to name the zip and reuse the name
2023-10-17 17:05:15 -07:00
bucky
6fbecd78a4
clean out unnecessary files a little easier
2023-10-17 10:39:17 -07:00
bucky
873b86a809
Merge pull request 'remove db files as well' ( #25 ) from archive-deliverable into master
...
Reviewed-on: #25
2023-10-16 17:41:38 -07:00
bucky
47393a5ead
remove db files as well
2023-10-16 17:30:11 -07:00
bucky
69c56ae31a
Merge pull request 'archive-deliverable' ( #24 ) from archive-deliverable into master
...
Reviewed-on: #24
2023-10-16 17:28:43 -07:00
bucky
b2cdf60a32
Revert "simplify it a little"
...
This reverts commit 91f45965a0 .
2023-10-16 17:23:50 -07:00
bucky
91f45965a0
simplify it a little
2023-10-16 17:18:06 -07:00
bucky
3097cb69aa
clean the workspace when done
2023-10-16 17:04:23 -07:00
bucky
eed17d61a3
use tmp as a staging place for building the tgz file
2023-10-16 16:35:56 -07:00
bucky
9e5a4069a4
wrapping all the commands in one script, hope it works?
2023-10-16 15:44:50 -07:00
bucky
f8c20541d5
removed shopt, added that in jenkins user's .profile
2023-10-16 15:09:44 -07:00
bucky
ee07312b86
another shot at getting local shell
2023-10-16 13:48:31 -07:00
bucky
e4eabf8aa6
looking to see what shell is used
2023-10-16 12:06:11 -07:00
bucky
3ec0f0ff7b
mkdir -p and wrapped the steps in a catch so the clean up happens
2023-10-16 12:01:10 -07:00
bucky
27b32fc8f4
another shot
2023-10-16 11:57:20 -07:00
bucky
ceab408ec0
build deliverable, store it, and clean up afterwards
2023-10-16 10:54:52 -07:00
bucky
b56b618a8c
added stages to build a deliverable and then clean it up when done
2023-10-16 10:50:22 -07:00
bucky
5631ae386f
include rackup
2023-10-13 21:28:47 -07:00
bucky
c31c556df5
removed falcon and it's dependencies, because it wasn't working right.
...
use puma for now
2023-10-13 21:27:25 -07:00
bucky
5fae0c4fa9
Merge pull request 'rspec-coverage' ( #22 ) from rspec-coverage into master
...
Reviewed-on: #22
2023-10-12 23:49:48 -07:00
bucky
144731062b
added URL validation to webpage part
2023-10-12 23:42:52 -07:00
bucky
72f3e03edd
added tests for invalid URL entries
...
+ URL that returns a 404
+ URL where the domain does not resolve with DNS
+ URL that is not properly formatted
2023-10-12 23:42:04 -07:00
bucky
b08693e866
remove the puts, don't print out the test result
2023-10-12 23:41:38 -07:00
bucky
ae2360a480
include the proper status code
2023-10-12 23:31:15 -07:00
bucky
213265a5d0
added test for submitting with the wrong content type header
2023-10-12 23:30:47 -07:00
bucky
dfb6b23e70
run simplecov for rspec tests
2023-10-12 23:12:14 -07:00
bucky
c81a7a6160
added rescue for urls that don't resolve
2023-10-12 19:03:03 -07:00
bucky
bbb710a5e1
added test for bad TLD, better named 404 url test
2023-10-12 19:02:38 -07:00
bucky
7eaa8eacf8
added rescue for OpenURI HTTPErrors
2023-10-12 18:26:13 -07:00
bucky
d78e361c29
added test for validating a url is accessible
2023-10-12 18:25:38 -07:00
bucky
1ae6c02472
rescue BadURIError for invalid URL format
2023-10-12 18:20:56 -07:00
bucky
11206854ad
added test for an invalid url
2023-10-12 18:20:35 -07:00
bucky
33089e6fbd
build HTML output with cucumber and rspec files in root dir
2023-10-12 16:25:22 -07:00
bucky
5cec47efcc
Merge pull request 'create-json' ( #21 ) from create-json into master
...
Reviewed-on: #21
2023-10-12 14:36:38 -07:00
bucky
cabb4daded
split up the nil? and empty? cases, because they are different
...
situations
2023-10-12 14:27:31 -07:00
bucky
1e61a76ded
added 2 more tests for empty and missing url data posting to links
2023-10-12 14:27:02 -07:00
bucky
ac3e9f14cd
added links route for API interactions
2023-10-12 11:42:43 -07:00
bucky
5ee9351362
added db initialization to make sure the db exists and is up to date
...
before tests
2023-10-12 11:42:14 -07:00
bucky
2964e06639
added before and after actions
...
+ before initializes the db
+ after cleans the db
2023-10-12 11:40:15 -07:00
bucky
d1a0fc0222
change request to use the /links path, to fit more into a RESTful API
...
format
+ also renamed the test to better describe the behavior
2023-10-12 11:32:00 -07:00
bucky
4a82174526
implemented API create endpoint
...
+ added plugins to read json and access the header to parse the request
for an API request
+ fixed logic where url param is nil
+ refactored the new code to a variable to be reused easier
+ if CONTENT_TYPE header is application/json, reply with json
- there could be more refactoring (maybe separating it to a different
endpoint) to handle other scenarios, we'll work on that later
2023-10-11 19:21:43 -07:00
bucky
3ae20255f6
DRY it out a little
2023-10-11 19:21:21 -07:00
bucky
f69c53bf29
removed unnecessary variable
2023-10-11 19:20:07 -07:00
bucky
7d6c098047
added more to the spec test for creating a new link
2023-10-11 19:18:47 -07:00
bucky
3421e18f21
added more logic for running tests without killing the whole pipeline, and outputting rspec results
2023-10-11 12:05:33 -07:00
bucky
0dec27a01c
added rspec step in tests stage, adjusted should clause
2023-10-11 11:04:08 -07:00
bucky
c45cf6ab51
started building out rspec specs for API functionality
2023-10-11 11:01:46 -07:00
bucky
e50667b392
split homepage out into homepage and submit feature sets
2023-10-10 17:29:23 -07:00
bucky
d4db64f404
Merge pull request 'cucumber-jenkins' ( #20 ) from cucumber-jenkins into master
...
Reviewed-on: #20
2023-10-10 17:22:55 -07:00
bucky
05858078d1
added unstable scenario
2023-10-10 17:20:25 -07:00
bucky
f75f0378bf
separate out success and failure tasks
2023-10-10 17:16:24 -07:00
bucky
c3d2fb32e2
added icon for message
2023-10-10 17:11:05 -07:00
bucky
1fe30fc7e7
removed jenkins cucumber section, use the html formatter instead
...
also added more info to the success message
2023-10-10 17:05:33 -07:00
bucky
43cc151138
moved stuff around a little more
2023-10-10 14:50:01 -07:00
bucky
1fee4f276d
maybe put both files in the same report
2023-10-10 14:47:09 -07:00
bucky
0b17f36fde
added more test results, just exploring
2023-10-10 14:43:11 -07:00
bucky
aca92fdae1
cleaned up message a bit for success
2023-10-10 14:32:54 -07:00
bucky
c7bf62062a
wrap it
2023-10-10 14:28:41 -07:00
bucky
b853ca6fe4
trying to make the message cleaner, and print the env to take a look at other options
2023-10-10 14:25:59 -07:00
bucky
d5919fc82a
got it working with vars, now try the URLs
2023-10-10 14:23:44 -07:00
bucky
e2395989f4
try normal quotes
2023-10-10 14:22:30 -07:00
bucky
e93868a483
try DB_NAME since the others are failing
2023-10-10 14:19:59 -07:00
bucky
7f6fc24872
maybe this one will work
2023-10-10 14:17:48 -07:00
bucky
776ec0d30d
trying different env vars
2023-10-10 14:10:50 -07:00
bucky
6861740d00
bots can't be easily used with incoming webhooks, but let's try some URLs
2023-10-10 14:05:18 -07:00
bucky
77e72d18e1
use the bot's endpoint
2023-10-10 13:50:48 -07:00
bucky
1792d94082
extra , syntax error in jenkins file
2023-10-10 13:30:40 -07:00
bucky
16d17bcadb
added icon
2023-10-10 13:27:40 -07:00
bucky
f5d1361d59
swapped text/message
2023-10-10 13:10:19 -07:00
bucky
c4932dd6cc
message to mattermost example
2023-10-10 13:02:31 -07:00
bucky
031a30ed5f
send slack message to mattermost for cucumber results
2023-10-10 10:52:14 -07:00
bucky
cc1fe1c3b7
Merge pull request 'cucumber-jenkins' ( #19 ) from cucumber-jenkins into master
...
Reviewed-on: #19
2023-10-10 09:44:14 -07:00
bucky
72e1cee9d5
split features into 2 separate feature files
2023-10-09 20:19:34 -07:00
bucky
a90ff753b1
use cucumber plugin
2023-10-09 18:52:48 -07:00
bucky
b6010cd431
remove the config in there
2023-10-09 18:37:46 -07:00
bucky
33bfb23405
add a setting for it
2023-10-09 18:35:50 -07:00
bucky
ad4f8492d4
add jenkins cucumber functionality
2023-10-09 18:30:50 -07:00
bucky
e6cc0959a4
Merge pull request 'invalid-urls' ( #18 ) from invalid-urls into master
...
Reviewed-on: #18
2023-10-07 21:13:53 -07:00
bucky
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
bucky
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
bucky
f8499a79c2
check if the link exists, redirects home if it doesn't
2023-10-07 13:38:10 -07:00
bucky
b97ee3f3bb
use the correct clause format since staying on site
2023-10-07 13:37:51 -07:00
bucky
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
bucky
c77cf2cb78
trying to get assets to load as well, and keep previous reports
2023-10-07 09:13:46 -07:00
bucky
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
bucky
47e5a093b4
added tests stage to jenkinsfile and added a note to the readme about pkgconf
2023-10-06 20:00:04 -07:00
bucky
a0ba8ba9f3
wrap steps in the steps block
2023-10-06 18:42:44 -07:00
bucky
c0a0548662
added dependencies stage
2023-10-06 18:40:51 -07:00
bucky
2448c93fa7
wrap setting the env var in a script wrapper
2023-10-06 18:35:00 -07:00
bucky
e720761106
try it again
2023-10-06 18:33:30 -07:00
bucky
450dc26df7
another attempt
2023-10-06 18:11:00 -07:00
bucky
7a32edb6e3
wrap it in an env var and add it to the env file
2023-10-06 18:09:17 -07:00
bucky
6160174c5d
generate secret in rb file
2023-10-06 18:07:07 -07:00
bucky
d972cc2c3b
another shot
2023-10-06 18:04:54 -07:00
bucky
6795508d3e
simplified
2023-10-06 17:42:48 -07:00
bucky
b5af621ee2
another shot
2023-10-06 17:41:29 -07:00
bucky
a4fbdeabe3
going back to the old style
2023-10-06 17:39:45 -07:00
bucky
3a71e58e22
trying to run the script, nothing else
2023-10-06 17:35:21 -07:00
bucky
ef9cef8915
wrap it in a script
2023-10-06 17:25:53 -07:00
bucky
ee5a6e673b
attempting to use variables
2023-10-06 17:23:56 -07:00
bucky
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
bucky
e1d0c6162d
trying again
2023-10-06 16:49:03 -07:00
bucky
435eeb9601
another quotes try
2023-10-06 14:02:54 -07:00
bucky
95eb1fea4c
trying with different quotes around commands
2023-10-06 14:01:55 -07:00
bucky
03eafcdf4c
reset the file on the initial append
2023-10-06 13:59:12 -07:00
bucky
38f92d83c3
add app session secret generation to the mix
2023-10-06 13:57:42 -07:00
bucky
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
bucky
5cc79ed54d
added line to add db name to the env file
2023-10-06 13:41:53 -07:00
bucky
b70b0846a1
syntax error in Jenkinsfile
2023-10-06 12:04:46 -07:00
bucky
de61253db6
added jenkinsfile with initial step for init
2023-10-06 12:02:38 -07:00
bucky
c93ac10288
fixed vertical scrolling issue with page and margin top on main
2023-10-05 13:55:09 -07:00
bucky
14f5f51d1e
made spacing for link a little nicer for smaller screens
2023-10-05 11:41:40 -07:00
bucky
79b12ac4b7
updates for mobile use
2023-10-05 11:03:22 -07:00
bucky
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
bucky
9ca0e9ca48
adjusted styles a little more
...
+ rearranged things some
+ changed button colors
2023-10-05 08:32:26 -07:00
bucky
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
bucky
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
bucky
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
bucky
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
bucky
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
bucky
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
bucky
80fae88228
sqlite3 note
2023-10-03 16:11:01 -07:00
bucky
d93a8df199
formatting
2023-10-03 16:08:53 -07:00
bucky
f0bad17e89
some formatting and more context in README
2023-10-03 16:08:16 -07:00
bucky
5ca4bf707b
removed rspec db setup, i probably didn't have it set right to clean up
...
after each task, implemented that in the before and after steps
2023-10-03 16:02:33 -07:00
bucky
8b2780820c
update for features
...
+ added flash/message assertions
+ adjusted urls to be http://google.com for tests for now
+ added @db-test tags to tests that use db interactions
+ added a scenario for duplicate URLs being used
+ added before and after steps to init and clean up db tests
+ added initialization of a test db for tests instead of interacting
with the production database
2023-10-03 15:58:56 -07:00
bucky
8639c785b7
added a spot for messages to show up in the layout
2023-10-03 15:58:33 -07:00
bucky
84a047fb0c
require the .env file to load ENV variables set in there
2023-10-03 15:58:01 -07:00
bucky
b2b41f1aa1
added flash plugin
...
+ added flash plugin, and the session plugin required by flash
+ set the DB name as an environment variable
+ set @message variable where it needs to be set to show on the UI
2023-10-03 15:56:42 -07:00
bucky
fff6b0f5dd
added more notes for the README
2023-10-03 15:55:59 -07:00
bucky
c51c0afcf2
ignore the local env file
2023-10-03 15:55:37 -07:00
bucky
88b52df610
ignore db files (sqlite)
2023-10-02 16:22:21 -07:00
bucky
0da7ec74e8
ignore .bundle directory
2023-10-02 16:21:44 -07:00
bucky
2bcf76618a
Merge pull request 'testing-enviroment-setup' ( #10 ) from testing-enviroment-setup into master
...
Reviewed-on: #10
2023-10-02 14:55:29 -07:00
bucky
d0c0ad5c16
removed an extra line in README
2023-10-02 14:51:58 -07:00
bucky
b90b400864
added more startup instructions and updated gems to have a development group
2023-10-02 14:22:26 -07:00
bucky
b66a5bb3e1
Merge pull request 'tests' ( #7 ) from tests into master
...
Reviewed-on: #7
2023-10-02 13:03:46 -07:00
bucky
cb027e19c8
generalized fill in field with text action
2023-10-02 13:02:48 -07:00
bucky
52a6bac85f
added 3rd test case for submitting a url
2023-10-02 11:37:19 -07:00