download-extension uk.co.compucorp.civicase https://github.com/compucorp/uk.co.compucorp.civicase/archive/1.14.0.zip
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
// ==UserScript== | |
// @name Jira Issue Link | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://github.com/compucorp/*/pull/* | |
// @grant none | |
// ==/UserScript== |
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
const glob = require('glob'); | |
const { readdirSync, createReadStream } = require('fs'); | |
const { createInterface } = require('readline'); | |
const { execSync } = require('child_process'); | |
// 1) - For listing all modules and their versions: | |
// (async () => console.table(await getModulesList()))(); | |
// 2) - For updating modules one by one: |
The current structure for models, instances, and apis offer a way to access and manipulate CiviHR's data while separating each responsibility into clear distinctive units.
Unfortunately, current implementations have a lack of cohesion, different services implement the same methods with slight variations, lack of inheritance, spec files repeat the same tests, and instance services are created without a purpose, just to follow the convention.
This document will address these issues and propose solutions for them.
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
define([ | |
'common/modules/models' | |
], function (models) { | |
'use strict'; | |
CaseModel.$inject = ['CaseInstance', 'ModelFactory']; | |
models.factory('Case', CaseModel); | |
function CaseModel (CaseInstance, ModelFactory) { |
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
<div> | |
<modal | |
name="ToilLeaveRequestDetails" | |
title="Accrue TOIL for additional work" | |
is-open="false"> | |
<leave-request-details-type type="toil" leave-request="leaveRequest"></leave-request-details-type> | |
</modal> | |
<button open-modal="ToilLeaveRequestDetails"> | |
Record a new Toil Accrual |
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> | |
<h1>Sample App</h1> | |
<require from="./container"></require> | |
<require from="./column"></require> | |
<require from="./person-form"></require> | |
<container records.bind="records" form.bind="personForm"> | |
<column header="Full Name">${firstName} ${lastName}</column> | |
<column header="Job Title">${job}</column> |
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> | |
<h1>${message}</h1> | |
<div>Div Content</div> | |
</template> |
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> | |
<h1>Bug Example</h1> | |
<router-view></router-view> | |
</template> |
NewerOlder