Commit graph

115 commits

Author SHA1 Message Date
Rok Garbas 3b53d74bb7
AWS_DEFAULT_REGION was missing in our cron github actions (#240) 2020-11-30 19:16:14 +01:00
Naïm Favier 7bcf9f17d8
Fix import scripts, remove 19.09 branch (#239)
* Fix rendering of default and example values

* bump the version

* reduce nix-instantiate calls

* Allow literalExample in default values, handle null correctly

* using py38 for now

* literalExample is not always string

* in case literalExample is not string process it as we would normally

* Remove 19.09 branch

* also remove 19.09 channel from github actions

* improve testing of empty lists and dicts

Co-authored-by: Rok Garbas <rok@garbas.si>
2020-11-30 17:58:42 +01:00
Marek Fajkus 060daed760
Refactor the loading and request management (#230) 2020-11-29 00:02:59 +01:00
Marek Fajkus ecf71f5932
Fix links to github sources (#232) 2020-11-24 00:06:41 +01:00
Rok Garbas 8dd69e68c1
awscli -> awscli2 (#234) 2020-11-23 23:56:59 +01:00
Marek Fajkus 29f5f02a16
Discard effects when routing only query params (#229)
fixes #225
2020-11-19 00:49:15 +01:00
Adam Sandberg Eriksson 7ac72dc89c
recurse into haskell.compiler to find additional Haskell compilers (#222) 2020-11-17 10:16:38 +01:00
Benedikt Seidl 4d505f3402
Remove unnecessary jquery, jquery-ui and bootstrap javascript reference and font-awesome css (#223) 2020-11-17 09:59:50 +01:00
Rok Garbas 7426982b07
Update github actions (#227) 2020-11-17 09:58:25 +01:00
Pier-Luc Faucher 1407641e45
Latest stable is now the default channel (#221)
fixes #220
2020-11-04 12:33:02 +01:00
Marek Fajkus fe04d9b14e
Refactor route structure (#219) 2020-10-30 19:13:55 +01:00
Marek Fajkus 2de4ef3bda
Remove cleanUrl and fragment hack (#216) 2020-10-29 00:38:46 +01:00
Marek Fajkus e412085ea8
Support search engine escaping of spaces (+) (#215) 2020-10-28 19:51:01 +01:00
Rok Garbas adbb224490
point to release prefix for 20.09 channel (#212) 2020-10-27 15:34:56 -04:00
Rok Garbas a23bcf1497
channel-diff script (#206) 2020-10-07 08:58:17 +02:00
Andreas Rammhold 33c2c8a837
Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels (#208)
Links in the search results for NixOS 20.09 started throwing 404
otherwise. Not all channels are being pushed to nixpkgs-channels as
apparently it is being phased out.
2020-10-06 20:26:07 -04:00
Rok Garbas a2c570e52e
20.09 -> nixos-20.09beta and unstable -> nixos-21.03pre (#205) 2020-10-05 23:27:02 +02:00
Rok Garbas 4b9f197fb0
Add nixos 20.09 (#199)
* Add NixOS 20.09

* a different prefix is needed since 20.09 is not released yet

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
2020-09-24 22:29:47 +02:00
Rok Garbas 86ad9d036d
Reworked search query (#197)
- still muse multi_match but now with cross_fields type
- add edge n-gram index field since cross_fields works only with match
  and this way we can have prefix support
- suffix support is still supported as before by reversing the words in
  data and query
- for query we now create variations of all multi_match queries. from 2
  words you get 4 queries, from 3 works you get 8 queries and so on.
2020-09-23 14:39:36 +02:00
Rok Garbas 5a65c6f94b
By mistake the default analyzer was used for query (#195)
At the same time i'm removing all of the fuzziness.
2020-09-17 18:00:07 +02:00
Rok Garbas 1ecf99c711
in older channels email was conditional (#194)
fixes #193
2020-09-17 17:32:30 +02:00
Alexandre Macabies 038ee96a5b
Add OpenSearch specifications for both packages and options. (#190)
Fixes #186.
2020-09-15 10:58:53 +02:00
Rok Garbas 7f91e92d8f
maintainer.name field can also be null (#182)
fixes #181
2020-09-07 18:36:24 +02:00
Rok Garbas 2a441c95d9
when wrong channel is selected (via url) show error (#178) 2020-09-03 21:03:17 +02:00
Rok Garbas c12f4dfb6c
add suffix search (or reverse prefix) (#176)
also fixes #170
2020-09-01 17:20:35 +02:00
Rok Garbas 2ffaefeba0
Using whitespace as analyzer reduces too much the matched items (#174) 2020-08-31 11:39:05 +02:00
Rok Garbas 48c05f60ed
using whitespace analyzer and not the default one (#172)
fixes #171
2020-08-30 14:48:04 +02:00
Rok Garbas b4a653519c
rework ranking queries (#168) 2020-08-30 01:03:09 +02:00
Rok Garbas 652381936b
adding cachix to speed up the builds (#169) 2020-08-28 22:57:06 +02:00
zimbatm f10911f9d6
add support for nix develop (#159)
Co-authored-by: Rok Garbas <rok@garbas.si>
2020-08-28 14:25:38 +02:00
Henri Maurer 8175e2be62
switch from sass to less (css) (#167) 2020-08-28 13:59:21 +02:00
Rok Garbas 746b4b1f96
for node-sass xcodebuild is needed on darwin (#166) 2020-08-28 09:48:05 +02:00
Rok Garbas 0ef75fa71d
allways display default value for fields in result details (#155)
fixes #154
2020-08-24 12:11:53 +02:00
Rok Garbas e4fec33f2b
Dont reload when showing result item details (#152)
fixes #148
fixes #142

also adding missing fields to package details view
2020-08-21 22:23:37 +02:00
Rok Garbas 91527f1deb
space should present an OR operation in query (#150)
filtering part of the query was messed up when I added search over multiple
fields.

fixes #147
fixes #149
2020-08-21 21:23:21 +02:00
Rok Garbas 818074f626
add longDescription to the list of fields we search over (#146)
fixed #134
2020-08-10 14:55:56 +02:00
adisbladis d96877dc64
Use english analyzer for descriptions (#110) 2020-08-08 22:38:06 +02:00
Rok Garbas bbec7b2a5b
search on multiple fields not just package_attr_name or option_name (#145)
fixes #134
2020-08-08 01:22:52 +02:00
Rok Garbas cbaf978394
add link to issues tracker (#144)
fixes #138
2020-08-07 14:44:19 +02:00
Rok Garbas 44cbea8547
remove suggestions feature (#141) 2020-07-24 23:01:16 +02:00
Rok Garbas 3bf4907596
Use nix to install awscli (#140) 2020-07-24 14:41:34 +02:00
Rok Garbas c048af9f69
Always use "nixos-*" channels to look up for builds (#139) 2020-07-24 11:50:24 +02:00
Rok Garbas cc5e4a540d
Allow to show results alphabetically (#133)
fixed #119
2020-07-10 09:49:43 +02:00
Rok Garbas 4173453098
Adjust ranking of should_match_bool_prefix queries (#130)
fixes #114
2020-07-09 22:28:49 +02:00
Rok Garbas 71eba22a0e
add backdrop for suggestions and show suggestions loading spinner the moment a user starts typing (#129)
fixes #118
fixes #122
2020-07-09 19:00:28 +02:00
Rok Garbas a3ed2036cb
don't show spinner when empty query is submitted (#128) 2020-07-09 18:15:34 +02:00
Rok Garbas 5cc46b4e11
change channel order (#127) 2020-07-09 18:08:06 +02:00
Rok Garbas 9b796191a5
Better define the page we are on (#126)
fixes #124
2020-07-09 18:07:07 +02:00
Rok Garbas 08c5d997dc
include query item in search suggestions (#117)
but only if it does not end with ".", since items with "." are partial
names only used to drill down to the actual package/option name.

when there is one result in suggestions and is the same as query we don't show results
2020-07-08 17:05:57 +02:00
Rok Garbas af66eef748
dont show browser autocomplete for query input (#116) 2020-07-08 16:19:08 +02:00