Permalink
Commits on Nov 19, 2018
  1. Update yarn.lock

    SISheogorath committed Nov 19, 2018
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  2. Merge pull request #1043 from SISheogorath/fix/tocEmptyHead

    SISheogorath committed Nov 19, 2018
    Fix ToC breaking documents with empty h* elements
  3. Fix wrong anchors

    SISheogorath committed Nov 19, 2018
    While experimenting with the ToC changes, it became obvious that anchors
    for those unnamed headers don't work.
    
    This patch fixes those links by running the autolinkify twice and make
    sure linkify only adds links to non-empty ids.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  4. Fix ToC breaking documents with empty h* elements

    SISheogorath committed Nov 7, 2018
    Right now, the ToC has an undefined variable i that was an index in the
    original ToC code. Since the major rewrite in
    4fe0620 it's a recursive function
    without this index. The variable `i` was wrongly copied into its current
    place from the old code.
    
    This patch replaces the variable `i` with the index of the header
    element. Fix the undefined variable problem.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  5. Merge pull request #1061 from SISheogorath/feature/updateHints

    SISheogorath committed Nov 19, 2018
    Add hints about how to be informed about updates
Commits on Nov 18, 2018
  1. Merge pull request #1060 from SISheogorath/fix/indexLinks

    SISheogorath committed Nov 18, 2018
    Fixing links on index page
  2. Add hints about how to be informed about updates

    SISheogorath committed Nov 18, 2018
    Keeping people in the loop about new version of CodiMD is not easy. When
    people don't keep an eye on GitHub it's easy to miss new versions.
    
    To help people keeping their software up to date, this patch adds hints
    to check out our community channel or simply the GitHub Atom feed
    generated for based on the release page to get informed about new
    versions.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Commits on Nov 17, 2018
  1. Fixing links on index page

    SISheogorath committed Nov 17, 2018
    Seems like ids in Firefox are case sensitive. So linking in the current
    way fails.
    
    This patch fixes the links by using the exact matching version of the
    titles on the features page.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  2. Merge pull request #1053 from dsprenkels/robots.txt

    SISheogorath committed Nov 17, 2018
    Disallow creation of robots.txt in freeurl
  3. Disallow creation of robots.txt in freeurl

    dsprenkels committed Nov 12, 2018
    Add a configuration setting to "hard"-disable creation of notes as
    set by the configuration value. This defaults to `['robots.txt',
    'favicon.ico']`, because these files are often accidentally created
    by bots and browsers.
    
    This commit fixes #1052.
    
    Signed-off-by: Daan Sprenkels <hello@dsprenkels.com>
  4. Merge pull request #943 from SISheogorath/feature/improveSetup

    SISheogorath committed Nov 17, 2018
    Some minor improvements for setup script
  5. Merge pull request #1040 from sunbit/master

    SISheogorath committed Nov 17, 2018
    Fix migration failure due to change on error messages
  6. Merge pull request #1059 from SISheogorath/fix/winstonStreaming

    SISheogorath committed Nov 17, 2018
    Fix streaming for winston
Commits on Nov 16, 2018
  1. Update error message text checks

    sunbit committed Nov 6, 2018
    Signed-off-by: Carles Bruguera <carlesba@gmail.com>
  2. Fix streaming for winston

    SISheogorath committed Nov 16, 2018
    During the upgrade of winston in
    c358477 a the class extension for
    streaming was removed.
    
    This caused silent crashes. Somehow winston simply called
    `process.exit(1)` whenever `logger.write()` was called. This is really
    bad and only easy to debug because of the testing right after upgrading.
    
    However, reimplementing the stream interface as it was, didn't work, due
    to the fact that `logger.write()` is already implemented and causes the
    mentioned problem. So we extent the object with an `stream` object that
    implements `write()` for streams and pass that to morgan.
    
    So this patch fixes unexpected exiting for streaming towards our logging
    module.
    
    References:
    https://www.digitalocean.com/community/tutorials/how-to-use-winston-to-log-node-js-applications
    c358477
    https://stackoverflow.com/a/28824464
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  3. Merge pull request #1058 from ccoenen/bug/oauth2internalerror

    SISheogorath committed Nov 16, 2018
    InternalOAuthError is not part of passport, but of passport-oauth2 #1056
  4. Merge pull request #1057 from ccoenen/eslint

    SISheogorath committed Nov 16, 2018
    switching to eslint for code checking
Commits on Nov 14, 2018
  1. switching to eslint for code checking

    ccoenen committed Nov 14, 2018
    most rules degraded to WARN, so we don't go insane. This will
    change over time. The aim is to conform to a common style
    
    Signed-off-by: Claudius Coenen <opensource@amenthes.de>
  2. InternalOAuthError is not part of passport, but of passport-oauth2

    ccoenen committed Nov 14, 2018
    This fixes part of #1056: an error while obtaining the profile
    would have `502`-crashed the server.
    
    Signed-off-by: Claudius Coenen <opensource@amenthes.de>
  3. Merge pull request #1055 from SISheogorath/upgrade/winston

    SISheogorath committed Nov 14, 2018
    Upgrade winston / refactor logging
  4. Merge pull request #1047 from SISheogorath/docs/slideMode

    SISheogorath committed Nov 14, 2018
    Add documentation for document type
  5. Add documentation for slide view mode to features page

    SISheogorath committed Nov 10, 2018
    Since it's a very useful feature, we should mention it in multiple 
    locations.
    
    So we mention it in the slide mode section of the features page.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  6. Some minor improvements to the yaml-metadata docs

    SISheogorath committed Nov 10, 2018
    Switching form XAML to YAML syntax highlighting and fixing some grammar.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
  7. Add documentation for type field

    SISheogorath committed Nov 10, 2018
    The yaml-metadata documentation should mention the type field. This is
    also open for future extension.
    
    Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>