Commit Graph
46 Commits
Author SHA1 Message Date
waffles 9d5f83c909 Support tilde redirects 2023-01-22 15:46:42 -08:00
waffles b19aa738b8 Fix date format 2023-01-20 08:06:34 -08:00
waffles 322a1bc9e7 Remove mastodon.yml 2023-01-20 08:05:11 -08:00
waffles 893e3fb82c Clean up some things 2023-01-19 23:35:47 -08:00
waffles 795fcd83d1 Fix the hard coded version number in the docker-compose file 2023-01-19 00:42:38 -08:00
waffles 6654e0b971 Send docker logs to journald 2023-01-18 22:56:13 -08:00
Waffles 91f1b7c12b Fix typo in Makefile 2023-01-16 20:41:02 -08:00
Waffles e43ab7fb19 Remove old playbooks 2023-01-09 02:51:00 -08:00
Waffles 4d0b70bbe1 Refactor the playbook to support multiple roles per host nicely 2023-01-09 02:39:02 -08:00
Waffles 4f73bfcf2c Rename firstboot to be a more generic upgrade playbook 2023-01-07 21:27:54 -08:00
Waffles 552cc79a6d Changing to system redis 2023-01-07 11:06:10 -08:00
Waffles 756ca19d8f Fix typo 2023-01-07 09:20:38 -08:00
Waffles dbd63008e3 Fix typo in sidekiq queue 2023-01-07 09:10:28 -08:00
Waffles ca4cac005d Add support for redis 2023-01-07 09:10:14 -08:00
Waffles 7ec729d912 Add a script to rebuild the feeds if redis fails 2023-01-06 09:32:46 -08:00
Waffles 43f041b6ad setup redis 2023-01-06 08:34:39 -08:00
Waffles 82205ccdb6 -- Completion Plugin Setup
local cmp = require'cmp'
cmp.setup({
  -- Enable LSP snippets
  snippet = {
    expand = function(args)
        vim.fn["vsnip#anonymous"](args.body)
    end,
  },
  mapping = {
    ['<C-p>'] = cmp.mapping.select_prev_item(),
    ['<C-n>'] = cmp.mapping.select_next_item(),
    -- Add tab support
    ['<S-Tab>'] = cmp.mapping.select_prev_item(),
    ['<Tab>'] = cmp.mapping.select_next_item(),
    ['<C-S-f>'] = cmp.mapping.scroll_docs(-4),
    ['<C-f>'] = cmp.mapping.scroll_docs(4),
    ['<C-Space>'] = cmp.mapping.complete(),
    ['<C-e>'] = cmp.mapping.close(),
    ['<CR>'] = cmp.mapping.confirm({
      behavior = cmp.ConfirmBehavior.Insert,
      select = true,
    })
  },
  -- Installed sources:
  sources = {
    { name = 'path' },                              -- file paths
    { name = 'nvim_lsp', keyword_length = 3 },      -- from language server
    { name = 'nvim_lsp_signature_help'},            -- display function signatures with current parameter emphasized
    { name = 'nvim_lua', keyword_length = 2},       -- complete neovim's Lua runtime API such vim.lsp.*
    { name = 'buffer', keyword_length = 2 },        -- source current buffer
    { name = 'vsnip', keyword_length = 2 },         -- nvim-cmp source for vim-vsnip
    { name = 'calc'},                               -- source for math calculation
  },
  window = {
      completion = cmp.config.window.bordered(),
      documentation = cmp.config.window.bordered(),
  },
  formatting = {
      fields = {'menu', 'abbr', 'kind'},
      format = function(entry, item)
          local menu_icon ={
              nvim_lsp = 'λ',
              vsnip = '⋗',
              buffer = 'Ω',
              path = '🖫',
          }
          item.menu = menu_icon[entry.source.name]
          return item
      end,
Changed to new server and had to make some changes
2023-01-05 21:24:35 -08:00
Waffles 6975fbf817 Removing unnecesary variable structure 2023-01-04 13:17:35 -08:00
Waffles e7039346aa Add default queue settings for the sidekiq role 2023-01-04 13:16:27 -08:00
Waffles c7bcfe8424 Cleaning up the root directory a bit 2023-01-04 12:58:02 -08:00
Waffles 5de86be501 Add missing file 2023-01-04 00:26:50 -08:00
Waffles d9a7331373 Allow sidekiq and puma to co-exist 2023-01-04 00:26:23 -08:00
Waffles a756ef3cd8 Fixing up all of the things to make frontend work 2023-01-03 23:20:47 -08:00
Waffles e18a229b76 redis server 2023-01-03 20:15:14 -08:00
Waffles 6d6e24d07f Gate the maintenance.yml file by hostname 2023-01-03 18:47:25 -08:00
Waffles bc08d22f34 Enable cronjob for trimming storage 2023-01-03 16:41:27 -08:00
Waffles 800fa074bb Add a script for trimming storage 2023-01-03 16:31:04 -08:00
Waffles 2e4b281663 Cleaning up submodules 2022-12-31 18:10:26 -08:00
Waffles f16b6cf760 Remove vim from the yttrx role 2022-12-31 18:09:49 -08:00
Waffles 8e4d6eeadb Remove neovim from management 2022-12-29 11:06:04 -08:00
Waffles c23be8f75f Cleaning up the hosts file 2022-12-29 09:39:14 -08:00
Waffles fba8cc9587 Removed group_vars/all 2022-12-28 01:11:38 -08:00
Waffles 5c38e42cd7 Removing group_vars from git tracking 2022-12-28 01:11:07 -08:00
Waffles f3a6038031 Reference a variable when checking out mastodon repo 2022-12-28 00:54:57 -08:00
Waffles f4d39eb120 Move webapp_hosts variable into host_vars/ 2022-12-28 00:23:39 -08:00
Waffles a38c70d139 Remove unnecessary variables file 2022-12-27 22:14:58 -08:00
Waffles c537ce7120 Better support SSL certinficates in the frontend role 2022-12-27 22:09:36 -08:00
Waffles 8593bf2e7a Move swap management out of mastodon role and into yttrx role 2022-12-26 22:59:02 -08:00
Waffles 526e28d935 Change how sidekiq queues are defined 2022-12-26 22:41:35 -08:00
Waffles 474aebea81 Move variables to host_vars 2022-12-26 22:27:00 -08:00
Waffles dab5ea4fb9 Documenting some more stuff 2022-12-21 23:19:35 -08:00
Waffles 50d8f89726 Some more minor tweaks 2022-12-21 22:58:32 -08:00
Waffles e31275cf12 Tweaks to the readme 2022-12-21 22:55:25 -08:00
Waffles 9ddb01ccc4 Adding readme 2022-12-21 22:43:32 -08:00
Waffles 05f0752c4d Remove mta.yml 2022-12-21 22:31:30 -08:00
Waffles 19ebda26b4 Initial commit 2022-12-21 22:30:01 -08:00