Commit 1b0e22b8 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Suppression de fichiers obsolètes

parent f4c482ee
Loading
Loading
Loading
Loading

bin/.gitignore

deleted100644 → 0
+0 −1
Changes for bin/.gitignore: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
aaa.sh
 No newline at end of file

bin/create-version-file.sh

deleted100755 → 0
+0 −34
Changes for bin/create-version-file.sh: 0 added lines, 34 removed lines.
Original line number Diff line number Diff line
#!/bin/bash

set -e

usage() {
  cat << EOF
Script de génération du fichier de version.
Usage :
  $0 <gitdir>
  <gitdir> : Chemin du répertoire des métadonnées git (.git), ou du dépôt git intermédiaire. Obligatoire.
Exemples :
  $0 /workspace/sygal/.git
EOF
  exit 0;
}

CURR_DIR=$(cd `dirname $0` && pwd)
APPDIR=$(cd ${CURR_DIR}/.. && pwd)

GITDIR=$1

[[ -z "$GITDIR" ]] && usage

function generate_version_file() {
  GITDIR=$1
  VERSION_CMD="git --git-dir ${GITDIR} describe"
  DATE_CMD="git --git-dir ${GITDIR} log --pretty='format:%ad' --date=format:'%d/%m/%Y %H:%M:%S' -1"
  echo "==> Génération du fichier de version..."
  ver_num=$(eval ${VERSION_CMD})
  ver_date=$(eval ${DATE_CMD})
  cd ${APPDIR} && ./create-version-config-file --number ${ver_num} --date ${ver_date}
}

generate_version_file $(realpath $GITDIR)

doc/bootstrap4-migration.md

deleted100644 → 0
+0 −55
Changes for doc/bootstrap4-migration.md: 0 added lines, 55 removed lines.
Original line number Diff line number Diff line
Migration vers Bootstrap 4
==========================

- passage à jquery 3.x ?

Remplacements
-------------

- .dl-horizontal => .row + grid column classes (or mixins) on its <dt> and <dd> children.
- .navbar-inverse, .navbar-header disparaissent
- .navbar-fixed-top => .fixed-top
- .navbar-toggle => .navbar-toggler
- nouvelles classes : .nav-link, .nav-item
- .input-group-addon => input-group-prepend ou input-group-append
- .col-xs-* => .col-*
- .panel => .card + .card-body (panel-primary supprimé, alternatiove à trouver https://getbootstrap.com/docs/4.0/components/card/#card-styles)
- glyphicon glyphicon-* => icon icon-* (nouveau dans unicaen/app)
- .table-condensed => .table-sm
- control-label => .col-form-label.
- .input-lg and .input-sm => .form-control-lg and .form-control-sm, respectively.
- .help-block => .form-text (https://getbootstrap.com/docs/4.0/migration/#forms-1)
- .form-horizontal supprimé : trouver une parade (https://getbootstrap.com/docs/4.0/migration/#forms-1)
- .has-error, .has-warning, and .has-success disparaissent : style à récupérer
- .btn-default => .btn-secondary
- .btn-xs => .btn-sm
- navbar : navbar-expand-md ajouté pour gestion du collapse, + navbar-dark bg-dark. Quid de .navbar-inverse ?
- .breadcrumb-item, is now required on the descendants of .breadcrumbs


NB
--

- "Added a new sm grid tier below 768px for more granular control. We now have xs, sm, md, lg, and xl. This also means 
every tier has been bumped up one level (so .col-md-6 in v3 is now .col-lg-6 in v4)."
(https://getbootstrap.com/docs/4.0/migration/#grid-system)

- màj bootstrap-confirmation : fait pour B4, mais pas de version pour B5 !
- màj bootstrap-datetimepicker nécessaire ? Non, unicaen/app fournit la dernière version 4.17.47 et elle semble pouvoir fonctionner avec B5.
- màj bootstrap-select ? Non, fonctionne avec B4 (ex: filtres de thèses).
- màj bootstrap-multiselect ? non, ça semble fonctionner (ex: filtre textuel de thèses)

- popover : option `sanitize: true` requise sinon pas de <table> possible das un popover ! 
- .page-header disparaît
- <blockquote> plus stylé : utiliser .blockquote and the .blockquote-reverse 
- nouveau : .table-inverse, .thead-default and .thead-inverse.
- disparaissent : $().button(string) and $().button('reset') 
- envisager de remplacer <div.navbar> par <nav>




SyGAL RAF
---------

- remplacer : $().button(string) and $().button('reset') https://getbootstrap.com/docs/4.0/migration/#buttons
 No newline at end of file

generate-version-config-file.sh

deleted100755 → 0
+0 −16
Changes for generate-version-config-file.sh: 0 added lines, 16 removed lines.
Original line number Diff line number Diff line
#!/usr/bin/env bash

DIR=$(cd `dirname $0` && pwd)

cd ${DIR}

DIST_FILE_PATH=${DIR}/config/autoload/auto.version.local.php.dist
TARGET_FILE_PATH=${DIR}/config/autoload/auto.version.local.php

ver_num=$(git describe) && \
ver_date=$(git log --pretty='format:%ad' --date=format:'%d/%m/%Y %H:%M:%S' -1) && \

cp -f ${DIST_FILE_PATH} ${TARGET_FILE_PATH} && \
sed -i "s#_VERSION_NUMBER_#${ver_num}#; s#_VERSION_DATE_#${ver_date}#; s#_GENERATION_DATE_#$(date)#" ${TARGET_FILE_PATH} && \

echo "Fichier de version généré : ${TARGET_FILE_PATH} (version = '${ver_num}', date = '${ver_date}')"

script_mv_.sql

deleted100644 → 0
+0 −592

File deleted.

Preview size limit exceeded, changes collapsed.