Complete version change
Also put some polish on before initial deployment
This commit is contained in:
parent
5866194f63
commit
7fc7012b29
|
@ -1,8 +1,10 @@
|
||||||
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyVersion>0.7.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>0.7.0.0</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -25,6 +25,9 @@ else
|
||||||
{
|
{
|
||||||
<p>You do not have an employment profile established; click “Profile”* in the menu to get started!</p>
|
<p>You do not have an employment profile established; click “Profile”* in the menu to get started!</p>
|
||||||
}
|
}
|
||||||
|
@{
|
||||||
|
/**
|
||||||
|
This is phase 3 stuff...
|
||||||
<hr>
|
<hr>
|
||||||
<p>
|
<p>
|
||||||
There @(ProfileCount == 1 ? "is" : "are") @(ProfileCount == 0 ? "no" : ProfileCount) employment
|
There @(ProfileCount == 1 ? "is" : "are") @(ProfileCount == 0 ? "no" : ProfileCount) employment
|
||||||
|
@ -33,6 +36,57 @@ else
|
||||||
{
|
{
|
||||||
<text>Take a look around and see if you can help them find work!</text> <em>(coming soon)</em>
|
<text>Take a look around and see if you can help them find work!</text> <em>(coming soon)</em>
|
||||||
}
|
}
|
||||||
</p>
|
</p> */
|
||||||
|
}
|
||||||
</ErrorList>
|
</ErrorList>
|
||||||
}
|
}
|
||||||
|
<hr>
|
||||||
|
<h4>Phase 2 – What Works <small><em>(Last Updated January 8<sup>th</sup>, 2021)</em></small></h4>
|
||||||
|
<p>
|
||||||
|
If you’ve gotten this far, you’ve already passed
|
||||||
|
<a href="https://github.com/bit-badger/jobs-jobs-jobs/issues/1" target="_blank">Phase 1</a>, which enabled users of
|
||||||
|
No Agenda Social to create accounts here, simply by allowing the application read access to their profiles. Unless
|
||||||
|
there are requests for tighter integration with that site, this is the only access to your NAS information that this
|
||||||
|
application will require.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<a href="https://github.com/bit-badger/jobs-jobs-jobs/issues/2" target="_blank">Phase 2</a> allows you to complete
|
||||||
|
your employment profile. Much of this is straightforward, but there are a few things you might want to know before
|
||||||
|
you fill it out:
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
The “View Your Employment Profile” link (which you”ll see on this page, once your profile is
|
||||||
|
established) shows your profile the way all other validated users will be able to see it (once
|
||||||
|
<a href="https://github.com/bit-badger/jobs-jobs-jobs/issues/3" target="_blank">Phase 3</a> is complete). While
|
||||||
|
this site does not perform communication with others over No Agenda Social, the name on employment profiles is a
|
||||||
|
link to that user’s profile; from there, others can communicate further with you using the tools Mastodon
|
||||||
|
provides.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
The “Professional Biography” and “Experience” sections support Markdown, a plain-text way
|
||||||
|
to specify formatting quite similar to that provided by word processors. The
|
||||||
|
<a href="https://daringfireball.net/projects/markdown/" target="_blank">original page</a> for the project is a good
|
||||||
|
overview of its capabilities, and the pages at <a href="https://www.markdownguide.org/" target="_blank">Markdown
|
||||||
|
Guide</a> give in-depth lessons to make the most of this language. The version of Markdown employed here supports
|
||||||
|
many popular extensions, include smart quotes (turning "a quote" into “a quote”), tables,
|
||||||
|
super/subscripts, and more.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Skills are optional, but they are the place to record skills you have. Along with the skill, there is a
|
||||||
|
“Notes” section, which can be used to indicate the time you’ve practiced a particular skill, the
|
||||||
|
mastery you have of that skill, etc. It is free-form text, so it is all up to you how you utilize the field.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
The “Experience” field is intended to capture a chronological or topical employment history; with this
|
||||||
|
“quick-n-dirty” implementation, this Markdown box can be used to capture that information however you
|
||||||
|
would like it presented to fellow citizens.
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="https://github.com/bit-badger/jobs-jobs-jobs/issues/5" target="_blank">Phase 5</a> includes allowing
|
||||||
|
public access to the continent, region, and skills fields of Gitmo Nation citizens who indicate that they are both
|
||||||
|
seeking employment <strong>and</strong> want their information disclosed to public users. The “Allow my
|
||||||
|
profile to be searched publicly” checkbox, at the bottom of the page where you edit your employment profile,
|
||||||
|
is how you opt your profile in to this list.
|
||||||
|
</li>
|
||||||
|
</ul>
|
|
@ -1,4 +1,5 @@
|
||||||
@inherits LayoutComponentBase
|
@inherits LayoutComponentBase
|
||||||
|
@using System.Reflection
|
||||||
@inject IJSRuntime js
|
@inject IJSRuntime js
|
||||||
@using Blazored.Toast.Configuration
|
@using Blazored.Toast.Configuration
|
||||||
|
|
||||||
|
@ -19,6 +20,7 @@
|
||||||
<source src="/audio/pelosi-jobs.mp3">
|
<source src="/audio/pelosi-jobs.mp3">
|
||||||
</audio>
|
</audio>
|
||||||
|
|
||||||
|
<div class="app-version">Jobs, Jobs, Jobs @Version</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<BlazoredToasts Position="ToastPosition.BottomRight"
|
<BlazoredToasts Position="ToastPosition.BottomRight"
|
||||||
|
@ -26,4 +28,14 @@
|
||||||
|
|
||||||
@code {
|
@code {
|
||||||
async void PlayJobs() => await js.InvokeVoidAsync("Audio.play", "pelosijobs");
|
async void PlayJobs() => await js.InvokeVoidAsync("Audio.play", "pelosijobs");
|
||||||
|
|
||||||
|
private string Version { get; set; } = "";
|
||||||
|
|
||||||
|
protected override void OnInitialized()
|
||||||
|
{
|
||||||
|
var version = Assembly.GetExecutingAssembly().GetName().Version!;
|
||||||
|
Version = $"v{version.Major}.{version.Minor}";
|
||||||
|
if (version.Revision > 0) Version += $".{version.Revision}";
|
||||||
|
base.OnInitialized();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,3 +69,11 @@
|
||||||
padding-right: 1.5rem !important;
|
padding-right: 1.5rem !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.app-version {
|
||||||
|
padding-top: 2rem;
|
||||||
|
text-align: right;
|
||||||
|
color: rgba(0, 0, 0, .25);
|
||||||
|
font-style: italic;
|
||||||
|
font-size: .8rem;
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
using JobsJobsJobs.Server.Data;
|
using JobsJobsJobs.Server.Data;
|
||||||
using JobsJobsJobs.Shared;
|
using JobsJobsJobs.Shared;
|
||||||
using JobsJobsJobs.Shared.Api;
|
using JobsJobsJobs.Shared.Api;
|
||||||
|
using Microsoft.AspNetCore.Authorization;
|
||||||
using Microsoft.AspNetCore.Mvc;
|
using Microsoft.AspNetCore.Mvc;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using NodaTime;
|
using NodaTime;
|
||||||
|
@ -79,6 +80,7 @@ namespace JobsJobsJobs.Server.Areas.Api.Controllers
|
||||||
return new JsonResult(new LogOnSuccess(jwt, citizen.Id.ToString(), citizen.DisplayName));
|
return new JsonResult(new LogOnSuccess(jwt, citizen.Id.ToString(), citizen.DisplayName));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Authorize]
|
||||||
[HttpGet("get/{id}")]
|
[HttpGet("get/{id}")]
|
||||||
public async Task<IActionResult> GetCitizenById([FromRoute] string id)
|
public async Task<IActionResult> GetCitizenById([FromRoute] string id)
|
||||||
{
|
{
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<UserSecretsId>553960ef-0c79-47d4-98d8-9ca1708e558f</UserSecretsId>
|
<UserSecretsId>553960ef-0c79-47d4-98d8-9ca1708e558f</UserSecretsId>
|
||||||
|
<AssemblyVersion>0.7.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>0.7.0.0</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
@ -55,8 +55,8 @@ namespace JobsJobsJobs.Server
|
||||||
{
|
{
|
||||||
ValidateIssuer = true,
|
ValidateIssuer = true,
|
||||||
ValidateAudience = true,
|
ValidateAudience = true,
|
||||||
ValidAudience = "https://jobsjobs.jobs",
|
ValidAudience = "https://noagendacareers.com",
|
||||||
ValidIssuer = "https://jobsjobs.jobs",
|
ValidIssuer = "https://noagendacareers.com",
|
||||||
IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(
|
IssuerSigningKey = new SymmetricSecurityKey(Encoding.UTF8.GetBytes(
|
||||||
Configuration.GetSection("Auth")["ServerSecret"]))
|
Configuration.GetSection("Auth")["ServerSecret"]))
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyVersion>0.7.0.0</AssemblyVersion>
|
||||||
|
<FileVersion>0.7.0.0</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user