Commit Graph

  • 5631ae386f include rackup 2023-10-15 bucky 2023-10-13 21:28:25 -07:00
  • c31c556df5 removed falcon and it's dependencies, because it wasn't working right. use puma for now bucky 2023-10-13 21:27:25 -07:00
  • 5fae0c4fa9 Merge pull request 'rspec-coverage' (#22) from rspec-coverage into master bucky 2023-10-12 23:49:48 -07:00
  • 144731062b added URL validation to webpage part bucky 2023-10-12 23:42:52 -07:00
  • 72f3e03edd added tests for invalid URL entries bucky 2023-10-12 23:42:04 -07:00
  • b08693e866 remove the puts, don't print out the test result bucky 2023-10-12 23:41:38 -07:00
  • ae2360a480 include the proper status code bucky 2023-10-12 23:31:15 -07:00
  • 213265a5d0 added test for submitting with the wrong content type header bucky 2023-10-12 23:30:47 -07:00
  • dfb6b23e70 run simplecov for rspec tests bucky 2023-10-12 23:12:14 -07:00
  • c81a7a6160 added rescue for urls that don't resolve bucky 2023-10-12 19:03:03 -07:00
  • bbb710a5e1 added test for bad TLD, better named 404 url test bucky 2023-10-12 19:02:38 -07:00
  • 7eaa8eacf8 added rescue for OpenURI HTTPErrors bucky 2023-10-12 18:26:13 -07:00
  • d78e361c29 added test for validating a url is accessible bucky 2023-10-12 18:25:38 -07:00
  • 1ae6c02472 rescue BadURIError for invalid URL format bucky 2023-10-12 18:20:56 -07:00
  • 11206854ad added test for an invalid url bucky 2023-10-12 18:20:35 -07:00
  • 33089e6fbd build HTML output with cucumber and rspec files in root dir bucky 2023-10-12 16:25:22 -07:00
  • 5cec47efcc Merge pull request 'create-json' (#21) from create-json into master bucky 2023-10-12 14:36:38 -07:00
  • cabb4daded split up the nil? and empty? cases, because they are different situations bucky 2023-10-12 14:27:31 -07:00
  • 1e61a76ded added 2 more tests for empty and missing url data posting to links bucky 2023-10-12 14:27:02 -07:00
  • ac3e9f14cd added links route for API interactions bucky 2023-10-12 11:42:43 -07:00
  • 5ee9351362 added db initialization to make sure the db exists and is up to date before tests bucky 2023-10-12 11:42:14 -07:00
  • 2964e06639 added before and after actions bucky 2023-10-12 11:40:15 -07:00
  • d1a0fc0222 change request to use the /links path, to fit more into a RESTful API format bucky 2023-10-12 11:32:00 -07:00
  • 4a82174526 implemented API create endpoint bucky 2023-10-11 19:21:43 -07:00
  • 3ae20255f6 DRY it out a little bucky 2023-10-11 19:21:21 -07:00
  • f69c53bf29 removed unnecessary variable bucky 2023-10-11 19:20:07 -07:00
  • 7d6c098047 added more to the spec test for creating a new link bucky 2023-10-11 19:18:47 -07:00
  • 3421e18f21 added more logic for running tests without killing the whole pipeline, and outputting rspec results bucky 2023-10-11 12:05:33 -07:00
  • 0dec27a01c added rspec step in tests stage, adjusted should clause bucky 2023-10-11 11:04:08 -07:00
  • c45cf6ab51 started building out rspec specs for API functionality bucky 2023-10-11 11:01:46 -07:00
  • e50667b392 split homepage out into homepage and submit feature sets bucky 2023-10-10 17:29:23 -07:00
  • d4db64f404 Merge pull request 'cucumber-jenkins' (#20) from cucumber-jenkins into master bucky 2023-10-10 17:22:55 -07:00
  • 05858078d1 added unstable scenario bucky 2023-10-10 17:20:25 -07:00
  • f75f0378bf separate out success and failure tasks bucky 2023-10-10 17:16:24 -07:00
  • c3d2fb32e2 added icon for message bucky 2023-10-10 17:11:05 -07:00
  • 1fe30fc7e7 removed jenkins cucumber section, use the html formatter instead bucky 2023-10-10 17:05:33 -07:00
  • 43cc151138 moved stuff around a little more bucky 2023-10-10 14:50:01 -07:00
  • 1fee4f276d maybe put both files in the same report bucky 2023-10-10 14:47:09 -07:00
  • 0b17f36fde added more test results, just exploring bucky 2023-10-10 14:43:11 -07:00
  • aca92fdae1 cleaned up message a bit for success bucky 2023-10-10 14:32:54 -07:00
  • c7bf62062a wrap it bucky 2023-10-10 14:28:41 -07:00
  • b853ca6fe4 trying to make the message cleaner, and print the env to take a look at other options bucky 2023-10-10 14:25:59 -07:00
  • d5919fc82a got it working with vars, now try the URLs bucky 2023-10-10 14:23:44 -07:00
  • e2395989f4 try normal quotes bucky 2023-10-10 14:22:30 -07:00
  • e93868a483 try DB_NAME since the others are failing bucky 2023-10-10 14:19:59 -07:00
  • 7f6fc24872 maybe this one will work bucky 2023-10-10 14:17:48 -07:00
  • 776ec0d30d trying different env vars bucky 2023-10-10 14:10:50 -07:00
  • 6861740d00 bots can't be easily used with incoming webhooks, but let's try some URLs bucky 2023-10-10 14:05:18 -07:00
  • 77e72d18e1 use the bot's endpoint bucky 2023-10-10 13:50:48 -07:00
  • 1792d94082 extra , syntax error in jenkins file bucky 2023-10-10 13:30:40 -07:00
  • 16d17bcadb added icon bucky 2023-10-10 13:27:40 -07:00
  • f5d1361d59 swapped text/message bucky 2023-10-10 13:10:19 -07:00
  • c4932dd6cc message to mattermost example bucky 2023-10-10 13:02:31 -07:00
  • 031a30ed5f send slack message to mattermost for cucumber results bucky 2023-10-10 10:52:14 -07:00
  • cc1fe1c3b7 Merge pull request 'cucumber-jenkins' (#19) from cucumber-jenkins into master bucky 2023-10-10 09:44:14 -07:00
  • 72e1cee9d5 split features into 2 separate feature files bucky 2023-10-09 20:19:34 -07:00
  • a90ff753b1 use cucumber plugin bucky 2023-10-09 18:52:48 -07:00
  • b6010cd431 remove the config in there bucky 2023-10-09 18:37:46 -07:00
  • 33bfb23405 add a setting for it bucky 2023-10-09 18:35:50 -07:00
  • ad4f8492d4 add jenkins cucumber functionality bucky 2023-10-09 18:30:50 -07:00
  • e6cc0959a4 Merge pull request 'invalid-urls' (#18) from invalid-urls into master bucky 2023-10-07 21:13:53 -07:00
  • 5bce31baf2 refactored missing link scenario to make more sense bucky 2023-10-07 21:11:12 -07:00
  • c7fee27623 update for missing link scenario bucky 2023-10-07 21:10:16 -07:00
  • f8499a79c2 check if the link exists, redirects home if it doesn't bucky 2023-10-07 13:38:10 -07:00
  • b97ee3f3bb use the correct clause format since staying on site bucky 2023-10-07 13:37:51 -07:00
  • beb9b0c14a added new scenario bucky 2023-10-07 13:27:00 -07:00
  • c874426f2e Merge pull request 'simplecov-jenkins-output' (#17) from simplecov-jenkins-output into master bucky 2023-10-07 09:27:01 -07:00
  • c77cf2cb78 trying to get assets to load as well, and keep previous reports bucky 2023-10-07 09:13:46 -07:00
  • 02e95ae916 added report results stage that includes the step to publish the simplecov results to Jenkins bucky 2023-10-07 09:03:39 -07:00
  • 0f0838ae5a Merge pull request 'jenkins-file' (#15) from jenkins-file into master bucky 2023-10-06 20:49:11 -07:00
  • 47e5a093b4 added tests stage to jenkinsfile and added a note to the readme about pkgconf bucky 2023-10-06 20:00:04 -07:00
  • a0ba8ba9f3 wrap steps in the steps block bucky 2023-10-06 18:42:44 -07:00
  • c0a0548662 added dependencies stage bucky 2023-10-06 18:40:51 -07:00
  • 2448c93fa7 wrap setting the env var in a script wrapper bucky 2023-10-06 18:35:00 -07:00
  • e720761106 try it again bucky 2023-10-06 18:33:30 -07:00
  • 450dc26df7 another attempt bucky 2023-10-06 18:11:00 -07:00
  • 7a32edb6e3 wrap it in an env var and add it to the env file bucky 2023-10-06 18:09:17 -07:00
  • 6160174c5d generate secret in rb file bucky 2023-10-06 18:07:07 -07:00
  • d972cc2c3b another shot bucky 2023-10-06 18:04:54 -07:00
  • 6795508d3e simplified bucky 2023-10-06 17:42:48 -07:00
  • b5af621ee2 another shot bucky 2023-10-06 17:41:29 -07:00
  • a4fbdeabe3 going back to the old style bucky 2023-10-06 17:39:45 -07:00
  • 3a71e58e22 trying to run the script, nothing else bucky 2023-10-06 17:35:21 -07:00
  • ef9cef8915 wrap it in a script bucky 2023-10-06 17:25:53 -07:00
  • ee5a6e673b attempting to use variables bucky 2023-10-06 17:23:56 -07:00
  • 721ce33adb trying by setting the output of the base64 generation to a jenkins variable to use later bucky 2023-10-06 16:59:16 -07:00
  • e1d0c6162d trying again bucky 2023-10-06 16:49:03 -07:00
  • 435eeb9601 another quotes try bucky 2023-10-06 14:02:54 -07:00
  • 95eb1fea4c trying with different quotes around commands bucky 2023-10-06 14:01:55 -07:00
  • 03eafcdf4c reset the file on the initial append bucky 2023-10-06 13:59:12 -07:00
  • 38f92d83c3 add app session secret generation to the mix bucky 2023-10-06 13:57:42 -07:00
  • 6c40ae6311 syntax error in Jenkinsfile, missing " at the end of the line to add to the env file bucky 2023-10-06 13:47:11 -07:00
  • 5cc79ed54d added line to add db name to the env file bucky 2023-10-06 13:41:53 -07:00
  • b70b0846a1 syntax error in Jenkinsfile bucky 2023-10-06 12:04:46 -07:00
  • de61253db6 added jenkinsfile with initial step for init bucky 2023-10-06 12:02:38 -07:00
  • c93ac10288 fixed vertical scrolling issue with page and margin top on main bucky 2023-10-05 13:55:09 -07:00
  • 14f5f51d1e made spacing for link a little nicer for smaller screens bucky 2023-10-05 11:41:40 -07:00
  • 79b12ac4b7 updates for mobile use bucky 2023-10-05 11:03:22 -07:00
  • 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 bucky 2023-10-05 08:44:41 -07:00
  • 9ca0e9ca48 adjusted styles a little more bucky 2023-10-05 08:32:26 -07:00