Commit graph

13113 commits

Author SHA1 Message Date
Vincent Ambo
a324a89fd0 chore(schema): Update generated Diesel schema
Updates the generated schema with the new users table.

This commit will break the build.
2018-05-02 00:33:46 +02:00
Vincent Ambo
1d9ff8b4c8 fix(migrations): Explicitly insert anonymous user
This guarantees that the anonymous user will always exist and have
ID=1.
2018-05-02 00:33:46 +02:00
Vincent Ambo
02c15f06d6 fix(migrations): Fix search index creation in user migration 2018-05-02 00:33:46 +02:00
Vincent Ambo
2159c76ca7 feat(migrations): Adds a migration to create a users table
As a first step of getting the concept of users into the database,
this creates a (somewhat involved) migration that moves all existing
"users" into a new users table and updates the post table to reference
it.

This migration is not yet finalised and still needs to be updated with
something to handle the concept of anonymous users (which I want to
keep around).
2018-05-02 00:33:46 +02:00
Vincent Ambo
e5d129b499 fix(nixos): Use 'screen-lock' command instead of i3lock directly 2018-05-01 16:41:42 +02:00
Vincent Ambo
7c673cd0d0 feat(packages): Add more emacs packages from unstable
Additional packages for ivy are installed from unstable, too, in order
to avoid compatibility issues with the ivy version in stable.
2018-05-01 16:08:10 +02:00
Vincent Ambo
5cf456e4f5 refactor(emacs): Install packages directly from MELPA
Never use MELPA Stable, as it's based on the assumption that authors
at least occasionally tag their code (they don't).
2018-05-01 16:08:10 +02:00
Vincent Ambo
456f692b88 feat(functions): Add ivy-run-external-command
Adds an ivy-based function akin to Helm's helm-run-external-command,
but without all the things I don't need/want.
2018-05-01 16:02:53 +02:00
Vincent Ambo
72a33b9156 feat(all): Replace helm with ivy
For most of my use-cases Helm seems to be overkill, and despite
overall seeming like a nice and featureful package it has stability
issues and bugs that annoy me.

I've heard that ivy is simpler to use and configure, so I'm giving it
a chance here.
2018-05-01 16:01:38 +02:00
Vincent Ambo
f4d1bb966c fix(config): Use OpenJDK instead of Oracle JDK 2018-05-01 15:22:40 +02:00
Vincent Ambo
693f92731b feat(emacs): Install ivy & related packages
Finally getting around to ditching Helm ...
2018-05-01 15:05:53 +02:00
Félix Baylac-Jacqué
b2f3a7411a
nix-lang: Add deep nested mixed attrs test case. 2018-05-01 14:42:34 +02:00
Vincent Ambo
be749fdd22 fix(config): Clean /tmp on boot 2018-05-01 14:08:36 +02:00
Vincent Ambo
6a35699045 chore(packages): Bump channel versions 2018-05-01 14:07:24 +02:00
Mayeul Cantan
56b2ac36e5 Refactor the device list
It is now more readable, which should make it easier to parse the code
and add new devices.
2018-04-30 23:06:19 +02:00
Abseil Team
9613678332 - 60c1f40a5e0bc33f93392ff6827528072d749a29 Move ExceptionSafetyTester from the absl:: namespace to t... by Abseil Team <absl-team@google.com>
- abd40a98f8ae746eb151e777ea8a8b5223d68a4b Splits the NoThrow flags into TypeSpec and AllocSpec flag... by Abseil Team <absl-team@google.com>
  - c16d0b5509b36679b384147b474135e7951afccf Change the abbreviation for the breakdowns of InfinitePas... by Abseil Team <absl-team@google.com>
  - 8ac104351764f23d666b52dce7536a34c05abf00 Use ABSL_CONST_INIT with std::atomic variables in static ... by Matt Armstrong <marmstrong@google.com>

GitOrigin-RevId: 60c1f40a5e0bc33f93392ff6827528072d749a29
Change-Id: I9d45a6ed30ed32ae57e9eff93f4205dbcd71feb2
2018-04-30 15:07:44 -04:00
Eelco Dolstra
3560654e6a
Merge pull request #2126 from DavidEGrayson/pr_gc_doc
nix-collect-garbage: fix documentation to not mention options like --print-dead
2018-04-30 19:13:21 +02:00
Danylo Hlynskyi
ac22d77fd1 nix-collect-garbage: little doc fix
This removes confusing documentation. It's better to remove doc than add implementation, because Nix 1.12 will surely have new GC interface anyway.

Fixes https://github.com/NixOS/nix/issues/641
2018-04-30 09:36:46 -07:00
Tim Sears
9a714f75af
add tests for builtins.add 2018-04-29 12:03:42 -07:00
Vincent Ambo
6f2a45fe58 style(config): Minor style fix 2018-04-28 17:53:32 +02:00
Vincent Ambo
851d43e738 refactor(adho/config): Open Chromecast-ports on all machines 2018-04-28 17:46:13 +02:00
Vincent Ambo
eab23ce912 feat(config): Use 1.1.1.1 DNS servers 2018-04-28 17:45:36 +02:00
Abseil Team
28f5b89070 - 81cdce434ff1bd8fa54c832a11dda59af46e79cc Adds a failure signal handler to Abseil. by Derek Mauro <dmauro@google.com>
- 40a973dd1b159e7455dd5fc06ac2d3f494d72c3e Remove test fixture requirement for ExceptionSafetyTester... by Abseil Team <absl-team@google.com>

GitOrigin-RevId: 81cdce434ff1bd8fa54c832a11dda59af46e79cc
Change-Id: Ia9fca98e38f229b68f7ec45600dee1bbd5dcff33
2018-04-26 11:05:43 -04:00
Abseil Team
ea0e750e52 - 2f6a3c92ce0f64e0923ad326ec5d07eae03061fd Add C++14's std::exchange to absl/utility/utility.h. by Abseil Team <absl-team@google.com>
- 9f2c9adbf998dd9062c8cc3da1076bde87081d71 Fix comment typo. by Greg Falcon <gfalcon@google.com>

GitOrigin-RevId: 2f6a3c92ce0f64e0923ad326ec5d07eae03061fd
Change-Id: I7b9db94ad315092baefe56b02f250acadafbe312
2018-04-25 13:44:41 -04:00
Vincent Ambo
7f34861ef1 feat(packages): Add Rust packages globally 2018-04-24 23:58:03 +02:00
Matthew Garrett
766b7b00fb Version 0.9 2018-04-24 08:33:05 -07:00
Abseil Team
19b3c95727 - 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3 Fix the description of Span::subspan(). by Abseil Team <absl-team@google.com>
- bae1a1c21924bd31fa7315eff05ea6158d9e7947 Port the symbolizer to Windows. by Derek Mauro <dmauro@google.com>
  - 2253c04c1a4f39d9581772f1dc4491878aa3831f Support absl::Hex() and absl::Dec() as arguments to absl:... by Jorg Brown <jorg@google.com>
  - 552c3ac259e9c254fda9244755487f3423d2fe4b Internal change by Jorg Brown <jorg@google.com>

GitOrigin-RevId: 3a9532fb2d6ae45c3cba44c9bb0dbdfc1558b7d3
Change-Id: I448133c9bb6d837037c12b45a9a16a7945049453
2018-04-24 10:09:46 -04:00
Vincent Ambo
0d23a04daf chore(gitattributes): Tell Github Linguist to ignore default.nix
The `default.nix` in this repository contains generated code and skews
Github's language statistics. While I'm a big fan of Nix, Converse is
certainly not 80% written in Nix ;-)
2018-04-24 16:04:12 +02:00
Vincent Ambo
79944a66ef feat(dotfiles/fish): Add alias for 'servedir' 2018-04-24 12:08:52 +02:00
Will Dietz
8e7d77d494 globals.hh: don't use '==' to compare string literals
Saw this in logs, also reported here:

8e6108ff71 (r28707288)
2018-04-23 20:57:05 -05:00
Vincent Ambo
9adacf8696 fix(build): Add explicit pulldown-cmark dependency
There is some weird dependency interaction between pulldown-cmark and
getopts which causes builds to fail with a message about unstable
features if getopts is not explicitly depended on as a dependency of a
dependency (yeah, huh?)
2018-04-23 22:09:37 +02:00
Vincent Ambo
0f6f5aeb4c refactor(build): Use Carnix-based expression for building
This is probably going to break Github's language statistics ...
2018-04-23 22:09:37 +02:00
Vincent Ambo
9dc1143b14 chore(cargo): Bump dependency minor versions 2018-04-23 22:09:37 +02:00
Abseil Team
af7882601a - fd5f3d7077270ffc5ea74cdb9e18bbae3b9b46aa Fix typo optional -> variant by Abseil Team <absl-team@google.com>
- 9136c06dfa8dbfdde0a427ad3509e34763d607a6 Fix string_view_test and str_cat_test build under MSVC de... by Derek Mauro <dmauro@google.com>
  - a463820f9441888f4368aa87328599e3209f9b07 Removes constexpr optional<T>::operator->(). This was don... by Abseil Team <absl-team@google.com>
  - 3bf78a7f126daafff329f7815d507422f1ca378d Remove dependencies on external CCTZ project. by Shaindel Schwartz <shaindel@google.com>
  - a4ae574a11b1ddf6e88459af3d638cf79aea7ecd Internal change by Jon Cohen <cohenjon@google.com>

GitOrigin-RevId: fd5f3d7077270ffc5ea74cdb9e18bbae3b9b46aa
Change-Id: I6ab8ab99863716fe9b2745a12ef285f7a6da6d1e
2018-04-23 12:57:34 -04:00
Vincent Ambo
636b1396f8 feat(emacs): Install nginx-mode 2018-04-23 15:34:51 +02:00
Vincent Ambo
95ce089815 feat(desktop): Install Helvetica Neue font 2018-04-23 15:34:45 +02:00
Shea Levy
8e6108ff71
Merge branch 'aarch64-armv7' of git://github.com/lheckemann/nix
Support extra compatible architectures (#1916)
2018-04-23 08:48:22 -04:00
Shea Levy
e2b028353b
Merge branch 'pos-crash-fix' of git://github.com/dezgeg/nix 2018-04-23 08:43:54 -04:00
Shea Levy
0aae411eaa
Merge branch 'add-test-eval-okay-nested-with' of git://github.com/ryantrinkle/nix 2018-04-23 08:43:14 -04:00
Shea Levy
25f580ee75
Merge branch 'doc/quiet' of git://github.com/samueldr/nix 2018-04-23 08:41:40 -04:00
Shea Levy
58f9ae0dcd
Merge branch 'hash-mismatch' of git://github.com/LnL7/nix 2018-04-23 08:40:34 -04:00
Daniel Høyer Iversen
75b323c640
Merge pull request #179 from tochev/feature-energy-cmd
Add energy option to broadlink_cli
2018-04-23 10:39:33 +02:00
Vincent Ambo
676531c5aa feat(packages): Pin stable channel to git commit
Instead of relying on nix-channel, pin the stable channel and override
it on the whole machine.
2018-04-22 13:38:17 +02:00
Vincent Ambo
605b455c93 refactor(packages): Pin unstable using builtins.fetchTarball
This is fetched at evaluation time and removes the dependency on first
having some packages in scope.
2018-04-22 13:37:50 +02:00
Vincent Ambo
7c581e4f64 feat(emacs): Pin EXWM to 0.18
There are several severe regressions from EXWM 0.15 to EXWM 0.17. This
commit pins the version to the somewhat newer 0.18 in hope that it
resolves those issues again.
2018-04-22 13:18:20 +02:00
Vincent Ambo
79ce1dc693 refactor(packages): Pin unstable channel in packages.nix
Pins the unstable Nix channel to a specific commit and uses package
overrides to move select packages from that channel into the system
Nix packages.
2018-04-22 13:17:30 +02:00
Vincent Ambo
47b6f24977 fix(dotfiles/fish): Fix shell setup for Nix 2.0 2018-04-22 12:51:54 +02:00
Vincent Ambo
6987d5b66e feat(services): Enable PostgreSQL on all machines 2018-04-22 12:49:02 +02:00
Vincent Ambo
37c182cebb feat(desktop): Add "screen-lock with wallpapers" shell script 2018-04-22 12:49:02 +02:00
Vincent Ambo
6b40b8af85 feat(adho): Add The Dubliner's wifi 2018-04-22 12:49:02 +02:00