Skip to content
Permalink
Branch: master
Commits on Jul 18, 2019
  1. Update README.md

    kzu committed Jul 18, 2019
Commits on Jun 25, 2019
  1. Fix release shortening for hub urls

    kzu committed Jun 25, 2019
Commits on Jun 6, 2019
  1. Improve support for mixed chars pages

    kzu committed Jun 6, 2019
    Pages using & and -, properly decode server-side before redirecting, but also properly encode all path segments before building the final url.
Commits on Jun 5, 2019
  1. Match DevDiv in case insensitive way

    kzu committed Jun 5, 2019
Commits on Jun 4, 2019
  1. Improve whitespace support in wiki pages

    kzu committed Jun 4, 2019
    It's quite common for wiki pages to contain whitespaces, since that
    makes for a much nicer page title and navigation tree in AzDO.
    
    These URIs would previously be broken in that the whitespace would
    not be URL-encoded and pasting it in slack or email would result in
    a broken experience.
    
    I took the opportunity to implement an improvement that makes the
    URLs even better in this very common scenario, by replacing the
    spaces with dashes instead by default. Obviously, dashes are valid
    in wiki page names and folders, so if we find existing dashes, we
    convert spaces to underscores instead. Unless there are also underscores
    and in that case we just URL encode the whole thing.
    
    When converting using underscores or not converting at all, we hint
    the azure function by appending a `?u` or `?b` (for *u*nderscores or
    *b*are) so that the function knows how to convert back to the final
    redirect location.
Commits on May 28, 2019
  1. Added TypeScript intellisense for chrome

    kzu committed May 28, 2019
  2. Automatically navigate old DevDiv urls to AzDO

    kzu committed May 28, 2019
Commits on May 24, 2019
  1. Remove link from badges

    kzu committed May 24, 2019
  2. Update README.md

    kzu committed May 24, 2019
  3. Update description

    kzu committed May 24, 2019
  4. Add title

    kzu committed May 24, 2019
  5. Added GA and logo

    kzu committed May 24, 2019
  6. Improve readme with screenshot and samples

    kzu committed May 24, 2019
  7. Added smaller preview image

    kzu committed May 24, 2019
Commits on May 11, 2019
  1. Remove extra blank line

    kzu committed May 11, 2019
  2. Add link to browser extension

    kzu committed May 11, 2019
  3. Add store listing information and icon

    kzu committed May 11, 2019
Commits on May 9, 2019
  1. Show stats as dynamic badges using shields endpoint

    kzu committed May 9, 2019
    See https://shields.io/endpoint.
    
    The in-portal stats borrow from the functions/Stats.linq approach and
    just expose the individual metric in the format expected by Shields:
    
    ```csharp
    #r "Newtonsoft.Json"
    
    using System.Net;
    using Microsoft.AspNetCore.Mvc;
    using Newtonsoft.Json;
    using Newtonsoft.Json.Linq;
    
    public static async Task<IActionResult> Run(HttpRequest req, ILogger log)
    {
        var http = new HttpClient();
        http.DefaultRequestHeaders.Add("x-api-key", Environment.GetEnvironmentVariable("APPINSIGHTS_APIKEY"));
        var json = await (await http.GetAsync($"https://api.applicationinsights.io/v1/apps/{Environment.GetEnvironmentVariable("APPINSIGHTS_APPID")}/query?query=" +
    @"customEvents
    | order by timestamp desc
    | where name == 'redirect'
    | project org = tostring(customDimensions['org'])
    | summarize dcount(org)")).Content.ReadAsStringAsync();
    
        dynamic stats = JObject.Parse(json);
        return new ContentResult
        {
            Content = JsonConvert.SerializeObject(new
            {
                schemaVersion = 1,
                label = "",
                message = stats.tables[0].rows[0][0].ToString(),
            }),
            ContentType = "application/json",
            StatusCode = 200
        };
    }
    ```
  2. Test stats page and function based on app insights telemetry

    kzu committed May 9, 2019
    Refresh every minute, since the telemetry doesn't land on AppInsights faster than that anyway.
    
    Try table format for values as well as simple header.
Commits on May 8, 2019
  1. Improve reporting of used operations for diagnostics

    kzu committed May 8, 2019
  2. Map www.azdo.io

    kzu committed May 8, 2019
  3. Fix issue with developer community url and non-redirected urls

    kzu committed May 8, 2019
    If the extension did not shorten the url, it ended up copying a relative
    URL. Make it so that in that case, the current page URL is copied instead.
  4. Set theme jekyll-theme-minimal

    kzu committed May 8, 2019
  5. Add default page icon and GH preview

    kzu committed May 8, 2019
  6. Added extension icon

    kzu committed May 8, 2019
  7. Updated README.md with more info

    kzu committed May 8, 2019
  8. Initial port and generalization of the DevDiv Linkinator 2000

    kzu committed May 8, 2019
    Make it aware of DevDiv short-links, but general-purpose for AzDO :D
    
    Can be loaded into chrome (edge too) unpacked for testing and debugging
    for now until we get screenshots and publish to chrome store.
  9. Minor updates to functions

    kzu committed May 8, 2019
    Consider DevDiv super-short urls only when both org + project are DevDiv.
    
    Use release overview page instead of release definition edit page. Seems more useful :)
Commits on May 7, 2019
  1. Initial version of work function

    kzu committed May 7, 2019
Commits on May 6, 2019
  1. Initial readme

    kzu committed May 6, 2019
  2. Initial commit

    kzu committed May 6, 2019
You can’t perform that action at this time.