1. 15 Sep, 2019 1 commit
  2. 09 Sep, 2019 2 commits
  3. 23 Jul, 2019 1 commit
  4. 14 Jun, 2019 3 commits
  5. 12 Jun, 2019 2 commits
  6. 11 Jun, 2019 3 commits
  7. 02 Jun, 2019 1 commit
    • Jose V. Trigueros's avatar
      Update Documentation, Docker builds, and CI builds (#124) · 63ef68f5
      Jose V. Trigueros authored
      * Mark recording as complete if attempted to be written as empty
      
      * Invert dockerignore, explicitly mention what to include
      
      * Remove mentions of CLIENT_ID, no longer used
      
      * Add multi-stage build for creating empty migrated db
      
      * Add missing files -- LICENSE and docs
      
      * Create application package without zipping
      
      * Remove metadata plugin and don't use property file for filtering
      
      * Move sample-ds.env to the correct folder
      
      * Merge the sample config into just one, why have three?
      
      * Spiff up Dockerfile multi-stage build and use distroless
      
      * Update docker-compose.yml to work with the updated Dockerfile
      
      * Remove extra dot from BUILD_DATE
      
      * Update assembly and resource plugins
      
      * Use go-offline-maven-plugin and package in offline mode
      
      * MAINTAINER has been deprecated use LABEL instead
      
      * Add start.sh for Linux users
      
      * Wrong slash \ -> /
      
      * Control the output of the assembly better
      
      * Add Makefile for easy building
      
      * Use a different plugin for offline cache building
      
      * Generate date with explicit UTC and match release format
      
      * Change integration-test to just test, not trying to package as well
      
      * Rename upload-artifact -> package
      
      * Just build already :)
      
      * Add Batch and no transfer progress flags to maven commands
      
      * NTP is very new, Batch will suffice
      
      * Attach workspace before run
      
      * Zip store artifacts
      
      * Artifact name must be exact
      
      * Save cache after packaging
      
      * Cannot update cache, so removing but caching artifacts after test
      
      * Remove unused files
      
      * Add editorconfig
      
      * Add build target and make the variables optional if env sets them
      
      * Update Dockerfile to match latest maven build
      
      * Update general documentation
      
      * Add more assembly files needed for docker-compose for alternate run
      
      * Update self-hosting docs
      
      * Add more rules for Kotlin
      
      * Use -B when building docker image
      
      * Update to Koin 2.0.1 and fix changed api usage
      
      * Ignore .env at root and in conf
      
      * Update environment variables config
      
      * Create recordings bucket before starting Minio
      
      * Update self-hosting docs
      
      * Update doctoc documentation
      
      * Only run package when pushing out a tag
      
      * Let's try ignoring all branches
      63ef68f5
  8. 18 May, 2019 1 commit
  9. 13 May, 2019 2 commits
  10. 12 May, 2019 1 commit
    • Jose V. Trigueros's avatar
      Add "Leave After" config option (#120) · b0368c9d
      Jose V. Trigueros authored
      * Add second argument to leaveAncientGuilds to parameterize when to leave
      
      The environment variable name chosen for this is BOT_LEAVE_GUILD_AFTER,
      because naming is hard...
      
      * Disable bg process if BOT_LEAVE_GUILD_AFTER is less than 0
      
      * Main parameters not needed since Kotlin 1.3
      b0368c9d
  11. 10 May, 2019 1 commit
  12. 01 May, 2019 1 commit
  13. 29 Apr, 2019 1 commit
    • Jose V. Trigueros's avatar
      Fix Error Responses (#117) · b6d0de02
      Jose V. Trigueros authored
      * Update metabase and minio versions
      
      * Queue nickname change instead of using complete()
      
      * Stay in thread when leaving on AFK
      
      * Handle issues when clearing queue file
      
      * Add logging context to determine which Guilds are having this issue
      
      * Add logging in the rx pipeline to handle known possible issues
      
      * Handle more issues when clearing queue file
      b6d0de02
  14. 28 Apr, 2019 2 commits
    • Jose V. Trigueros's avatar
      Emoji-fy bot responses (#116) · 14dd0aeb
      Jose V. Trigueros authored
      * Update AutoRecord responses with emoji and linked channels when possible
      
      * Remove warning message from autostop
      
      * Update AutoStop responses with emoji and linked channels when possible
      
      * Update wordy language in Auto{Stop,Record}; no longer -> not
      
      * Update AutoSave responses with emoji
      
      * Update Alias responses with emoji
      
      * Fix Alias bugs
      
      * Could create many Alias entries for the same alias
      * Could create redundant Alias for a bot command
      
      * Update RemoveAlias with emoji responses
      
      * Update Volume with emoji responses
      
      * Add ability to update recording volume during a session
      
      * Update Clip with emoji responses
      
      * Update Help with emoji responses and simplify logic
      
      * Update Prefix with emoji responses
      
      * Update CombinedAudioRecorderHandler with emoji responses
      14dd0aeb
    • Jose V. Trigueros's avatar
      Remove mentions of Heroku (#115) · c01bb4d6
      Jose V. Trigueros authored
      * Change log4j2.xml onMismatch to NEUTRAL
      
      * Remove app.json and documentation about heroku
      
      * Remove the heroku maven plugin
      
      * Update kotlin compiler version
      
      * Update jump3r, mp3 encoder, version
      
      * Update kotlin-logging version
      
      * Update minio sdk version
      
      * Update rx-java version
      
      * Remove test dependencies, no tests YOLO (should really fix)
      
      * Update JDA version
      
      * Update exposed versions
      
      * Update koin-core version
      
      * Update sqlite-jdbc version
      
      * Update slf4j version
      
      * Update logging dependencies to match slf4j 1.8
      c01bb4d6
  15. 09 Apr, 2019 1 commit
    • Jose V. Trigueros's avatar
      Add 'active' column to Guilds table (#114) · d20aaf55
      Jose V. Trigueros authored
      * Add convenience way of starting Koin in the test runner
      
      * Create migration that removes unused Guilds and adds active column
      
      * Add active value to ORM layer for Guilds
      
      * Enable foreign_keys on SQLite connection
      
      * Remove updateActivity function, was too convenient but not good
      
      * Update when Guild becomes active and commit to db on activity
      
      * Mark as inactive instead of deleting
      
      * Migrate blank db that ships as a resource
      d20aaf55
  16. 07 Apr, 2019 3 commits
  17. 03 Apr, 2019 1 commit
    • Jose V. Trigueros's avatar
      Fix autoleave, now autostop (#112) · e182eaa9
      Jose V. Trigueros authored
      * Enable autoleave, but don't apply logic yet
      
      * Remove biggestChannel, unused function
      
      * I don't remember what this was for, I think perhaps I don't need the class hierarchy?
      
      * Another step in the right direction to make auto stop work
      
      * Add placeholder migration
      
      * Add warning about autoleave command
      
      * Trigger autoStop and autoRecord if moving between voice channels
      
      * Update isSelfBot usage
      
      * Update AutoStop to match how AutoRecord works
      
      * Add migration to fix database schema and nullable autostop
      e182eaa9
  18. 01 Apr, 2019 1 commit
    • Jose V. Trigueros's avatar
      Fix issue where bot was listening to self · 5860e29a
      Jose V. Trigueros authored
      Squashed commit of the following:
      
      commit c5264bda86d89fcfa4d45539a7167fcf30c18a3f
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Apr 1 13:38:42 2019 -0700
      
          Update volume command to throw when Invalid usage
      
      commit 8bb8c3dfae250d65c938668fbbc006d5c59f757f
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Apr 1 13:38:26 2019 -0700
      
          Ignore messages sent by self
      5860e29a
  19. 31 Mar, 2019 4 commits
    • Jose V. Trigueros's avatar
      Assemble as zip not dir · b950ab63
      Jose V. Trigueros authored
      b950ab63
    • Jose V. Trigueros's avatar
      Batch of misc. minor improvements primarily to deployment · 1b937c57
      Jose V. Trigueros authored
      Squashed commit of the following:
      
      commit 1a63b8dcf1d08d1d834d461ea21e82e7f4e423a2
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 09:15:27 2019 -0700
      
          Add flag to show that an upgrade is in progress
      
      commit d4b320ab6256115dddfce7cc2433fe7330d4c507
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 08:46:14 2019 -0700
      
          Update minio and metabase versions
      
      commit e8cc16f3ae31abca84706ae17267fe6b0172be4e
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 08:38:29 2019 -0700
      
          Update standalone build
      
      commit 415ed21e0c5784f73d4a7b8c71658ff9cd8fea6b
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 08:37:13 2019 -0700
      
          Update Dockerfile and compose
      
      commit fd038dc59f626484502f54b4aa45c8784e2aca98
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 07:57:44 2019 -0700
      
          Remove duplicate upstream
      
      commit f6d9c21d4b80023c1bd0755e082c1746d9d26d6d
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 07:53:17 2019 -0700
      
          Default to minimal log configuration and only add token stuff in prod
      
      commit e325b3aa8d62bad2b29bba439b76208a63cbc4a0
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 07:30:03 2019 -0700
      
          Fix Java Class name
      
      commit 445ec2986c8d336c23e7468c7ea534be11f4768c
      Author: Jose V. Trigueros <[email protected]>
      Date:   Sun Mar 31 07:26:53 2019 -0700
      
          Set the default timezone to UTC, should make things easier
      1b937c57
    • Jose V. Trigueros's avatar
      a9f50645
    • Jose V. Trigueros's avatar
      Remove unnecessary aliases (#111) · 61cdaa35
      Jose V. Trigueros authored
      * Disable aliasing the alias command
      
      * Update README
      
      * Update help strings for auto*
      
      * Fix output messages
      
      * Add migration to remove redundant aliases
      
      * Rename autoLeave to autoStop and add db migration for it
      61cdaa35
  20. 29 Mar, 2019 1 commit
    • Jose V. Trigueros's avatar
      Convert all mentions of Join to Record · 22c1a5cd
      Jose V. Trigueros authored
      Joining doesn't imply recording, all this bot does is record so I feel
      like not saying that explicitly only makes it more confusing. Not to
      mention the alias mess.
      
      Squashed commit of the following:
      
      commit b777f5ca050c13c73219d47af2068f68dd28f312
      Author: Jose V. Trigueros <[email protected]>
      Date:   Thu Mar 28 21:41:23 2019 -0700
      
          Update migration sql script and change code to match
      
      commit 4cd0ad7ac20b9ce93cf1f937a3773ea7fbf65fe9
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 20:38:18 2019 -0700
      
          Add migration to rename field from join to record
      
      commit 74f26414b33ae72cff08a93b8778b378e3237f1c
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 20:23:22 2019 -0700
      
          Rename the table DSL autoJoin -> autoRecord
      
      commit 93f66c2d42f2b6bfd7454909641e922f33ece5a3
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 20:00:23 2019 -0700
      
          Rename DAO, Channel.{autoJoin,autoRecord}
      
      commit ad6b9d22e2dbe28e8f77d540f6076527cbee1f95
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 19:56:58 2019 -0700
      
          Add xmas dragon, forgot to add it earlier
      
      commit 3feda689a14fa634962773fda93b196400190326
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 19:47:04 2019 -0700
      
          Update to latest version of exposed
      
      commit e4b59f4d71f6ee13cd56bc305593ad493938c3cf
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 25 19:41:58 2019 -0700
      
          Remove usage of join and replace with record
      
      commit 039a1b9cf93f597d08ae2743a73839f7ad03a8da
      Author: Jose V. Trigueros <[email protected]>
      Date:   Thu Mar 21 07:47:13 2019 -0700
      
          Refactor logging
      
      commit 52cbf4d62e2a29ef06ba8c85f13af590344df89b
      Author: Jose V. Trigueros <[email protected]>
      Date:   Thu Mar 21 07:38:49 2019 -0700
      
          Rename BotUtils.joinVoiceChannel -> recordVoiceChannel
      
      commit 200b2eb387cb76cad7a2c1a4f8b869e3b60887e8
      Author: Jose V. Trigueros <[email protected]>
      Date:   Thu Mar 21 07:32:40 2019 -0700
      
          Rename BotUtils.autoJoin -> BotUtils.autoRecord
      
      commit 0807135a3e820d15bcf1a0c62227f7b89d72eb1c
      Author: Jose V. Trigueros <[email protected]>
      Date:   Mon Mar 18 08:03:22 2019 -0700
      
          Rename join -> record, and leave -> stop
      22c1a5cd
  21. 26 Mar, 2019 1 commit
    • Jose V. Trigueros's avatar
      Update Maven dependencies · 14c9f7c0
      Jose V. Trigueros authored
      Remove a bunch of the XML legacy crap, now it's pure
      
      Squashed commit of the following:
      
      commit a85c7f4a9c0c51d914b4dad47fde03bd0a70fce6
      Author: Jose V. Trigueros <[email protected]>
      Date:   Wed Mar 20 07:54:10 2019 -0700
      
          Ignore artifacts produced by maven for checking versions
      
      commit 7de367c842762478a96a074483c6bbe1a6b4371d
      Author: Jose V. Trigueros <[email protected]>
      Date:   Wed Mar 20 07:44:19 2019 -0700
      
          Update all outdated pom versions
      14c9f7c0
  22. 17 Mar, 2019 1 commit
    • Jose V. Trigueros's avatar
      Improve state management (#107) · 5a45192a
      Jose V. Trigueros authored
      * Update NGINX configuration file
      
      * Move sample env configuration
      
      * Move all binary assets to an appropriate directory
      
      * Delete Rockerfile, project has bin discontinued
      
      * Add portainer to compose and rename pawa -> bot
      
      * Update gitignore
      
      * Improve format for logging
      
      * Update Kotlin version and add konfig dependency
      
      * Initial konfig setup
      
      * Initialize config object
      
      * Update TestAppKt to use Konfig
      
      * Add forgotten data container to depends_on
      
      * Java 8 is dead
      
      * Remove System.getenv from main App and use Konfig instead
      
      Also removed unused namespaces needed for Java life
      
      * Remove cleanup configuration out of the init in EventListener
      
      * Add website to BotConfig
      
      * Add DataStoreConfig to BotConfig
      
      * Bump kotlin version 1.3.11 -> 1.3.21
      
      * Bump javadoc and shade plugin versions 3.1.0, and 3.2.1 respectively
      
      * Remove konfig and add koin
      
      Will bite the bullet and do DI using a proper framework, still don't
      know what I'm doing but will figure it out.
      
      * Update default properties file to follow environment variable format
      
      * Move the http server component into its own class
      
      * Convert Bot to a KoinComponent to allow it to inject properties
      
      * Convert EventListener to KoinComponent to allow it to inject properties
      
      * Update the application's entrypoint to leverage koin's start system
      
      * Remove unused Config.kt
      
      * Redo fix for not ignoring src directory with name data
      
      * Update datastore keys
      
      * Create datastore module and remove helper fn
      
      * Remove the minio stuff from the test app
      
      * Hook up remaining DI pieces incl. CombinedAudioRecorderHandler
      5a45192a
  23. 13 Mar, 2019 1 commit
    • Jose V. Trigueros's avatar
      PCM Mode (#104) · 29643fc0
      Jose V. Trigueros authored
      * Don't MP3 encode if PCM_MODE flag is set
      
      * Add pcmMode variable to toggle certain things, e.g. extension and encode
      
      * Update build image to OpenJDK 11
      
      * Update jacoco plugin version
      29643fc0
  24. 28 Jan, 2019 2 commits
    • Jose V. Trigueros's avatar
      b9c15ad9
    • Jose V. Trigueros's avatar
      Use default save location (#101) · 1dc6fc54
      Jose V. Trigueros authored
      * Update exposed and sqlite -- 0.11.2 -> 0.12.1, 3.23.1 -> 3.25.2
      
      * Enforce the use of the defaultChannel if set for joinVoiceChannel
      
      * Use default channel if set, otherwise default to current channel
      
      * defaultTextChannel only grabs the default channel if set
      
      This function was doing too much for the callers, each caller should
      ensure or handle the case where there is no defaultTextChannel set as
      each scenario is a bit different
      
      * Formatting
      
      * Add 'off' parameter to saveLocation and update docs
      1dc6fc54
  25. 19 Jan, 2019 1 commit
    • Jose V. Trigueros's avatar
      Add Minio Support (remove direct use of B2) (#98) · 8b635fc0
      Jose V. Trigueros authored
      * Add minio dependency
      
      * Add DataStore class to handle permanent data interactions
      
      * Create DataStore class to handle uploading data to permanent store
      
      * Remove the use of the B2 Backblaze API directly
      
      * Add commons-io dependency and remove mentions to B2ApiClient
      
      * Update code to only use DS_* instead of B2_* to make it generic
      
      * Add Minio datastore to docker-compose
      
      * Update samples and docs to see the updated environment variables
      
      * Update minio version and fix the startup command
      
      * Simplify the baseUrl by expecting user to provide bucket
      8b635fc0
  26. 13 Jan, 2019 1 commit