This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta http-equiv="expires" content="0" /> | |
<meta http-equiv="pragma" content="no-cache" /> | |
<meta http-equiv="cache-control" content="no-cache, must-revalidate" /> | |
<link rel="icon" href="http://127.0.0.1:8888/favicon.ico" type="image/x-icon"/> | |
<link rel="shortcut icon" href="http://127.0.0.1:8888/favicon.ico" type="image/x-icon"/> | |
<link rel="stylesheet" href="http://127.0.0.1:8888/plantuml.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Dev settings for webpack build */ | |
const merge = require('webpack-merge') | |
const common = require('./webpack.common') | |
const path = require('path') | |
const DEBUG_ANALYZE = true | |
const config = merge(common, { | |
mode: 'development', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Common webpack settings for app | |
* */ | |
const webpack = require('webpack') | |
const MiniCssExtractPlugin = require('mini-css-extract-plugin') | |
const VueLoaderPlugin = require('vue-loader/lib/plugin') | |
const MomentLocalesPlugin = require('moment-locales-webpack-plugin') | |
const alias = { | |
jquery: 'jquery/dist/jquery', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "done", | |
"publicPath": "http://0.0.0.0:8080/", | |
"chunks": { | |
"about": [ | |
{ | |
"name": "js/about.js", | |
"publicPath": "http://0.0.0.0:8080/js/about.js", | |
"path": "/home/fguerin/Projects/agenda.tourcoing.fr/agenda/src/agenda-front/live/js/about.js" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner | |
response = get_response(request) | |
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 204, in _get_response | |
response = response.render() | |
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/response.py", line 105, in render | |
self.content = self.rendered_content | |
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/response.py", line 83, in rendered_content | |
return template.render(context, self._request) | |
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/backends/django.py", line 61, in render |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: print-openapi | |
version: 0.9.25 | |
description: Print application API with an OpenAPI interface | |
contact: | |
name: François GUÉRIN | |
email: [email protected] | |
url: https://gitlab.ville.tg/fguerin/print-openapi-client | |
paths: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.3 | |
info: | |
title: print-openapi | |
version: 0.9.25 | |
description: Print application API with an OpenAPI interface | |
contact: | |
name: François GUÉRIN | |
email: [email protected] | |
url: https://gitlab.ville.tg/fguerin/print-openapi-client | |
paths: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def notify_create_job_file(self, print_job: PrintJobCreate, pdf_file_path: Path) -> PrintJobFileCreate: | |
with self.get_api_instance(authenticated=True) as api_instance: | |
print_job_file = PrintJobFileCreateRequest( | |
print_job=print_job.pk, | |
title="Cartes d'identité", | |
attachment=open(pdf_file_path, "rb"), # noqa | |
) | |
try: | |
api_response = api_instance.printflow_api_job_file_add_create( | |
print_job_file_create_request=print_job_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<BCard> | |
<BCardHeader> | |
<BCardTitle><b class="fa fa-user"></b> Connexion</BCardTitle> | |
</BCardHeader> | |
<BCardBody> | |
<BForm ref="form" @submit.prevent="userLogin"> | |
<BFormGroup | |
id="id-username-group" | |
label="Nom d'utilisateur" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth: { | |
strategies: { | |
local: { | |
scheme: 'refresh', | |
token: { | |
property: 'access', | |
data: 'access', | |
maxAge: 60 * 30 // 30 minutes | |
}, | |
refreshToken: { |
NewerOlder