Skip to content

Commit

Permalink
Merge pull request #1 from IvanKuchin/development
Browse files Browse the repository at this point in the history
First version
  • Loading branch information
IvanKuchin authored Mar 13, 2021
2 parents 1330e27 + f475084 commit fce5a31
Show file tree
Hide file tree
Showing 303 changed files with 103,393 additions and 2 deletions.
30 changes: 30 additions & 0 deletions .github/actions/linters/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
extends: "eslint:recommended"
env:
browser: true
es2021: true
jquery: true

# --- avoid no-undef warning for variables below
globals:
helpdesk_ticket_list_obj: writable
document: writable
Image: writable
isMobile: writable
jQuery: writable
localStorage: writable
location: writable
navigator: writable
Notification: writable
session_pi: writable
setTimeout: writable
sms_confirmation: writable
system_calls: writable
system_notifications: writable
StackTrace: writable
troubleshooting: writable
Uint8Array: writable
window: writable

# --- rules turn on/off
#rules:
# "no-undef": off
37 changes: 37 additions & 0 deletions .github/actions/release-drafter/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
# Changelog ...
$CHANGES
See details of [all code changes](https://github.com/ivankuchin/timecard.ru/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION) since previous release
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
- title: '🧰 Maintenance'
labels:
- 'infrastructure'
- 'automation'
- 'documentation'
- title: '🏎 Performance'
label: 'performance'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
version-resolver:
major:
labels:
- 'type: breaking'
minor:
labels:
- 'type: enhancement'
patch:
labels:
- 'type: bug'
- 'type: maintenance'
- 'type: documentation'
default: patch
Loading

3 comments on commit fce5a31

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misspellings found, please review:

  • wkhtmltox
To accept these changes, run the following commands from this repository on this branch
pushd $(git rev-parse --show-toplevel)
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"alloc amazonaws apps argc args autotest avcodec avutil bitfield CChat CCIE cctype certs closelog closeme closetest companylogouploader connme CPresence createnewgroup crt CSingle cstddef CTEST cxv DATADIR DATETIME dbby Domaincom Dwrr echogen eci editpersonalinfo edu eventtimestamp filefd filepath Fillin flg fotos fragsize ftok getdtablesize getopt glyphicon GOINGAWAY groupid grouplogouploader hdr HPDF hsap idby iface ifdef img industrytitle inprogress ipc jsonparser keyfile kuchin LGPL libev Libhpdf libwebsocket Libwkhtmltox Libxl lifecycle LPWSAPOLLFD LWD lws lwsl lwsts MBEDTLS mutex openlog optarg pem permessage PERROR POLARSSL pollfd presencecache pss pthread ptm reposted requestratelimiter retval ringbuffer rx seeya semget semop setlogmask sighandler singlemessage ssl stdlib stoll stoul strncpy syslog threadid ua uid uint ULONG UPTO usleep Website websocket WINNT WINVER WSA wsi yse "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spelling";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"AVUTIL COMPANYLOGOUPLOADER datetime DBby HDR hpdf IDBy Img Kuchin libhpdf libxl SSL UINT wkhtmltox "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
popd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misspellings found, please review:

  • wkhtmltox
To accept these changes, run the following commands from this repository on this branch
pushd $(git rev-parse --show-toplevel)
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"alloc amazonaws apps argc args autotest avcodec avutil bitfield CChat CCIE cctype certs closelog closeme closetest companylogouploader connme CPresence createnewgroup crt CSingle cstddef CTEST cxv DATADIR DATETIME dbby Domaincom Dwrr echogen eci editpersonalinfo edu eventtimestamp filefd filepath Fillin flg fotos fragsize ftok getdtablesize getopt glyphicon GOINGAWAY groupid grouplogouploader hdr HPDF hsap idby iface ifdef img industrytitle inprogress ipc jsonparser keyfile kuchin LGPL libev Libhpdf libwebsocket Libwkhtmltox Libxl lifecycle LPWSAPOLLFD LWD lws lwsl lwsts MBEDTLS mutex openlog optarg pem permessage PERROR POLARSSL pollfd presencecache pss pthread ptm reposted requestratelimiter retval ringbuffer rx seeya semget semop setlogmask sighandler singlemessage ssl stdlib stoll stoul strncpy syslog threadid ua uid uint ULONG UPTO usleep Website websocket WINNT WINVER WSA wsi yse "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spelling";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"AVUTIL COMPANYLOGOUPLOADER datetime DBby HDR hpdf IDBy Img Kuchin libhpdf libxl SSL UINT wkhtmltox "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
popd

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misspellings found, please review:

  • wkhtmltox
To accept these changes, run the following commands from this repository on this branch
pushd $(git rev-parse --show-toplevel)
perl -e '
my @expect_files=qw('".github/actions/spelling/expect.txt"');
@ARGV=@expect_files;
my @stale=qw('"alloc amazonaws apps argc args autotest avcodec avutil bitfield CChat CCIE cctype certs closelog closeme closetest companylogouploader connme CPresence createnewgroup crt CSingle cstddef CTEST cxv DATADIR DATETIME dbby Domaincom Dwrr echogen eci editpersonalinfo edu eventtimestamp filefd filepath Fillin flg fotos fragsize ftok getdtablesize getopt glyphicon GOINGAWAY groupid grouplogouploader hdr HPDF hsap idby iface ifdef img industrytitle inprogress ipc jsonparser keyfile kuchin LGPL libev Libhpdf libwebsocket Libwkhtmltox Libxl lifecycle LPWSAPOLLFD LWD lws lwsl lwsts MBEDTLS mutex openlog optarg pem permessage PERROR POLARSSL pollfd presencecache pss pthread ptm reposted requestratelimiter retval ringbuffer rx seeya semget semop setlogmask sighandler singlemessage ssl stdlib stoll stoul strncpy syslog threadid ua uid uint ULONG UPTO usleep Website websocket WINNT WINVER WSA wsi yse "');
my $re=join "|", @stale;
my $suffix=".".time();
my $previous="";
sub maybe_unlink { unlink($_[0]) if $_[0]; }
while (<>) {
  if ($ARGV ne $old_argv) { maybe_unlink($previous); $previous="$ARGV$suffix"; rename($ARGV, $previous); open(ARGV_OUT, ">$ARGV"); select(ARGV_OUT); $old_argv = $ARGV; }
  next if /^(?:$re)(?:(?:\r|\n)*$| .*)/; print;
}; maybe_unlink($previous);'
perl -e '
my $new_expect_file=".github/actions/spelling/expect.txt";
use File::Path qw(make_path);
make_path ".github/actions/spelling";
open FILE, q{<}, $new_expect_file; chomp(my @words = <FILE>); close FILE;
my @add=qw('"AVUTIL COMPANYLOGOUPLOADER datetime DBby HDR hpdf IDBy Img Kuchin libhpdf libxl SSL UINT wkhtmltox "');
my %items; @items{@words} = @words x (1); @items{@add} = @add x (1);
@words = sort {lc($a) cmp lc($b)} keys %items;
open FILE, q{>}, $new_expect_file; for my $word (@words) { print FILE "$word\n" if $word =~ /\w/; };
close FILE;'
popd

Please sign in to comment.