profile
viewpoint
Jérémy Lal kapouer EDA SARL Champagné Saint Hilaire, Vienne, France https://twitter.com/kapouer --------------- Web Developer -------------- Open Source contributor. Debian maintainer. Creator of Pageboard, a next-gen website builder.

kapouer/cache-debounce 5

Cache and debounce simultaneous async calls with a hash function and optional timeout

kapouer/bundledom 3

Bundle and transform javascript files, stylesheets, html imports and update DOM document

kapouer/create-html-document-polyfill 2

createHTMLDocument polyfill and IE 11 fixer

kapouer/cubism-browser 2

cubism npm package for browsers

kapouer/d3-browser 2

d3 npm package for browsers

kapouer/chainit3 1

chainit fork - towards a general purpose tool

kapouer/ajv 0

The fastest JSON schema Validator. Supports v5 proposals

kapouer/amas 0

Awesome & Marvelous Amas

kapouer/ansi.js 0

Advanced ANSI formatting tool for Node.js

issue openedungap/custom-elements-builtin

IE11 Element has no innerHTML descriptor but HTMLElement does

With various other es5 polyfills, it's possible to run custom elements on IE11. However,

> Object.getOwnPropertyDescriptor(Element.prototype, 'innerHTML')
undefined
> Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'innerHTML')
[Object]

I'm not sure it's fixable in a general way (in another polyfill), it's easier to workaround it here.

created time in an hour

issue openedswc-project/swc

hoisting bug

In @swc/core 1.1.28,

function test() {
  if (typeof Missing == typeof EXTENDS) {
    console.log("missing")
  }
  var EXTENDS = "test";
}

is compiled as

function test() {
    if (typeof Missing == typeof EXTENDS) {
        console.log('missing');
    }
    var EXTENDS1 = 'test';
}

But this is what is expected:

function test() {
    if (typeof Missing == typeof EXTENDS) {
        console.log('missing');
    }
    var EXTENDS = 'test';
}

Or this, which is better style:

function test() {
    var EXTENDS;
    if (typeof Missing == typeof EXTENDS) {
        console.log('missing');
    }
    EXTENDS = 'test';
}

created time in an hour

PR closed ungap/custom-elements-builtin

Fix non-working hoisting

The current code used to work until i tried to compile it using swc. Then i reread the specs, and noticed that

function toto() {console.log(test); var test = 2;}
toto()
> undefined
+1 -1

1 comment

1 changed file

kapouer

pr closed time in an hour

pull request commentungap/custom-elements-builtin

Fix non-working hoisting

Hmmm i see, it's on purpose. EXTENDS is not initialized by hoisting but it doesn't throw since it is declared by hoisting.

kapouer

comment created time in an hour

PR opened ungap/custom-elements-builtin

Fix non-working hoisting

The current code used to work until i tried to compile it using swc. Then i reread the specs, and noticed that

function toto() {console.log(test); var test = 2;}
toto()
> undefined
+1 -1

0 comment

1 changed file

pr created time in 11 hours

push eventkapouer/custom-elements-builtin

Jérémy Lal

commit sha 68a5472f2b7b14d572b10ea86863bcab131c6701

Fix non-working hoisting

view details

push time in 11 hours

fork kapouer/custom-elements-builtin

A polyfill for Custom Elements builtin extends

fork in 11 hours

push eventpageboard/client

Jérémy Lal

commit sha bdaf95c28682dfea6b776077368e2f2e87849027

html consent: don't run chain only if it is tacit and not asked

view details

Jérémy Lal

commit sha 91206dbdd0769dad3dc13167ee4a4bc73896f81c

Merge branch '0.7.x' into 0.8.x

view details

Jérémy Lal

commit sha bc9264a6552e15b63e9ea981e5ef7fea95516acf

window-page@10.4.1

view details

Jérémy Lal

commit sha 3998d3bfdd5682b789fac0262937c99afba07a59

site@0.8.24

view details

Jérémy Lal

commit sha 10204887c84561cf56cd00d8293249bdcc6327c2

html@0.8.28

view details

push time in 12 hours

push eventpageboard/client

Jérémy Lal

commit sha 7d41602465466470382b7a17db88a5e5cd51eb7c

rating: simplify code

view details

Jérémy Lal

commit sha ee93596855ed2bf5dbd154b45e54413e118e1ec1

form: better support for reloading

view details

Jérémy Lal

commit sha 873d9cad9fc58d8a64d239b00c3c688febe31c7d

core@0.6.32

view details

Jérémy Lal

commit sha 855fb48058638df5bbaf20d9f144c664ba1935cd

sui@0.6.20

view details

Jérémy Lal

commit sha 88441511c9d20ad728d13a913b2cb0b62ac63bf2

sui@0.6.21

view details

Jérémy Lal

commit sha 44c8c6651ad75950f515a2f8b9aa93fc539bddcb

core@0.6.33

view details

Jérémy Lal

commit sha a351cab9334efa33a55cbf58bffb1fd5a17732f3

gallery@0.6.7

view details

Jérémy Lal

commit sha eadb3680699a96cbb191ca2e7bf7b2e4064ef143

Move page sections css into their own stylesheet

view details

Jérémy Lal

commit sha fe86e7cbbaf52bbb7a590ef450d0477a2f82971f

gallery: less options but more features

view details

Jérémy Lal

commit sha 9eb834b1ad2b1232327870d560362c5c98274556

Use HTMLCustomElements.defaults to setup data-observedAttributes

view details

Jérémy Lal

commit sha db3b3f82899528f91e1f51aca990ceed18792306

template: drop attributeChangedCallback, inherited now

view details

Jérémy Lal

commit sha 67e961c029cc7d78a540dbe90385caf2de33e8cc

write: filterTransaction tr might not be set here

view details

Jérémy Lal

commit sha 737017be1e69002eee1bd7c20654e64cc308406f

embed: move to new code

view details

Jérémy Lal

commit sha b5752e884e2c92a0705a78fbb61b8310c18500fc

sitemap: fix code

view details

Jérémy Lal

commit sha 4d14d3be575395082286294ed218e55b42da2158

Expose $page to scope

view details

Jérémy Lal

commit sha 458d6868e09f3fd6c556c7e753ed7f3eece6803d

core: render can accept no args

view details

Jérémy Lal

commit sha db808641ddc7dd29fcb296c011e6d0541610f428

tab: modernize, drop nested contexts, support only tabular

view details

Jérémy Lal

commit sha 697def6929de37e1306be17ba91b8e3187b0e452

breadcrumb: use $page

view details

Jérémy Lal

commit sha 0fd7dabc0c813ca1183fde4b72c49bb7652e414c

gallery@0.6.8

view details

Jérémy Lal

commit sha e635685e36781f74b950908df459b5fe0d340b4a

core@0.6.34

view details

push time in 12 hours

created tagkapouer/window-page

tag10.4.1

Promise-based Page state event handler

created time in 12 hours

push eventkapouer/window-page

Jérémy Lal

commit sha abd7f53caeb644b833119428d6a85328a12a1f1d

URLSearchParams#sort is not well supported not polyfilled

view details

Jérémy Lal

commit sha d9edfb6cafde669ce7a9ea179b482721dab1c63a

Version 10.4.1

view details

push time in 12 hours

issue commentFinancial-Times/polyfill-library

URLSearchParams#sort method is missing for safari 9-10

It should also be polyfilled in IE11. This polyfill provides a way to add sort on top of existing implementation: https://github.com/ungap/url-search-params/

kapouer

comment created time in 13 hours

issue openedpageboard/server

link preload fonts

One third of a second could be won by using link preload for fonts.

created time in a day

push eventpageboard/server

Jérémy Lal

commit sha 615ffdbe843448fbdeb634c2a17a7769750df0ff

event: don't early-commit transaction

view details

push time in 2 days

push eventpageboard/server

Jérémy Lal

commit sha 661e4bbee8b1e94661b0330cdc439903f42dbe2d

mail: backport fix from 0.7

view details

push time in 2 days

issue openedpageboard/server

Error 500 when redirection happens on prerender rss

https://gexpertise.fr/actualites/notre-actualite.rss?year=2019&bust=yes returns 500. Should return 400 !

created time in 2 days

push eventpageboard/client

Jérémy Lal

commit sha 909594bda2aee49eefe54974940c6b074bb281e3

calendar@0.8.0

view details

Jérémy Lal

commit sha 4f94edab7b49ec483d30530df7b6adeff86ae6d6

feed@0.8.2

view details

Jérémy Lal

commit sha d611a240fcb15ae9ef0021533ea90e5c89b3efc9

html@0.8.27

view details

Jérémy Lal

commit sha a340616cb03f4c3772ff76e62c6f6b50cd465210

pagecut@0.8.33

view details

Jérémy Lal

commit sha 8b001fe76ac5d9db0635801c2ea8c230bfc07043

write@0.8.9

view details

Jérémy Lal

commit sha 038b24b92068ef8d3e412c17a1aaa35c6f738338

core@0.8.23

view details

push time in 2 days

push eventpageboard/client

Jérémy Lal

commit sha 99d042a1f18e880fb29bfed0d80346804604f777

tracking, consent, embed, storage

view details

Jérémy Lal

commit sha c248da4acf84cb97610f58f7a4bcfa336f1256ff

Lint space

view details

Jérémy Lal

commit sha 02e7e6846bcafc89037aa123cce39edb24324821

image: finer zoom for small sizes

view details

Jérémy Lal

commit sha 2974ddd72a30d4268dc833eb172e1900318b2191

loading: reveal is not lazy

view details

Jérémy Lal

commit sha 390725a45b15341aa4df639fa102a5f2f329b62d

image: loading lazy for all images

view details

Jérémy Lal

commit sha 119347bbb6ee4cae3bbfcdb58a0d1abf8aeed487

write: use el.contents.get to get a block content

view details

Jérémy Lal

commit sha b638fec1ad2ab91a3a3607316e514194ab67249c

core: filters set:obj:name:val or set:val:name

view details

Jérémy Lal

commit sha a78fb084166629628c808a3ad295e94354fc2d16

site: nicer close icon

view details

Jérémy Lal

commit sha 93daf860d621e5f6d64b2c3d227494d87bd25bdb

site: min-height for block-type content in editable mode

view details

Jérémy Lal

commit sha f6116c1eba0bb8a0dc6ec0874ff0e35bd1308107

Fix comment

view details

Jérémy Lal

commit sha 5b41408b368719388c84324153f854dd36782798

core: set filter fix

view details

Jérémy Lal

commit sha 17da505b3a36ea68c793bc10fc021d154e755464

write: whitespace fix

view details

Jérémy Lal

commit sha e1555244f66bc27d41250a1b6e8a62f5e58382e3

html: query-tags use labeled button instead of label

view details

Jérémy Lal

commit sha 772b775b145ff76a933e7e36b73bd3caa3a301a4

write: fix element-property input

view details

Jérémy Lal

commit sha ee60451be6a86eb3704436c115e36dbc7c6d45df

html: fix input_range's fill("")

view details

Jérémy Lal

commit sha ab3bf9aa514d746bb76746ba7b65ce186e27012d

html: form - convoluted way to expr.get(obj, path) with toString

view details

Jérémy Lal

commit sha 232053f63bab5420a05aaa87d543e126b22cbf5c

core: use state.ui to keep reference to observer

view details

Jérémy Lal

commit sha 3d86648875a3b0d7376bb8a3df9ef83f83ee3e4b

matchdom@5.5.0 can return values without coercion

view details

Jérémy Lal

commit sha f0881ac9679b6119d1d3bbce705e172655f7277d

html: input_property must get a string as value, not a boolean

view details

Jérémy Lal

commit sha e293ef23cb87658c3ec6d88e0a7e2581601f3041

favicon: do not declare it at the moment, it's useless

view details

push time in 2 days

push eventpageboard/client

Jérémy Lal

commit sha a66d5402f4c613ed72b8a981fcef99ea9311aa1e

html grid, cards: default stackable

view details

Jérémy Lal

commit sha 111bc0cfd7d08859ea4a3d339d260dce0000c306

pagecut: serialize support virtual/standalone, and document it

view details

push time in 2 days

create barnchpageboard/client

branch : 0.9.x

created branch time in 2 days

create barnchpageboard/server

branch : 0.9.x

created branch time in 2 days

push eventkapouer/postinstall-js

Jérémy Lal

commit sha e99a00841b8b368ea23654441ed0463412b5ad70

test parser

view details

Jérémy Lal

commit sha 47588c5d7d84eab6c9aef17b5e76fdc692591106

swc use globals, so iife is bad

view details

Jérémy Lal

commit sha 5231f6856023014ccaeebb2111ce3ee351f91803

Add esbuild-linux

view details

push time in 2 days

issue openedpageboard/client

api forms: prevent spam bots

  • honeypot fields
  • google recaptcha v3
  • mail/sms one-time-password, valid for a long time

created time in 4 days

push eventpageboard/client

Jérémy Lal

commit sha 132d2a9f24f7fc19459a8e7564cece83aa839ced

patch custom-elements-builtin to support IE11

view details

Jérémy Lal

commit sha 8141f3ba5c0ae3a2602d1b35a67bda0e11785070

pagecut: parseHTML support for caption/tfoot/tbody

view details

Jérémy Lal

commit sha 01a662d14d3d55c57a09a2780c32368b98015895

pagecut: svg handling must be done in input-plugin

view details

Jérémy Lal

commit sha 95592bde6ce790d9938716d3d9e750cdd4fd70b4

pagecut: refresh patches

view details

Jérémy Lal

commit sha 79bb3903b50ce0887649f923642e6b1a8cc60f95

form: just stop it when isContentEditable

view details

Jérémy Lal

commit sha 0466659dc614144ba7e73d7e11899ad853a078f0

pagecut: set virtual before recursion so children inherit it

view details

Jérémy Lal

commit sha 3b9cbf05c062e0520ce2492b881c48b4777dddf4

pagecut: serialize virtual content, it won't be kept in block

view details

Jérémy Lal

commit sha 2aa0ae43f5ef94479176774b84dd8d5e8a9f654e

pagecut: fix template content serialization(s)

view details

Jérémy Lal

commit sha 7477ea77624f7399de26fcca1a3695ff7e297428

menu: popup.item placer should always have width 100%

view details

Jérémy Lal

commit sha ed593e6a6a391b50020dfc52577a7a1a2261726b

pagecut: automatically append template content to its DOM

view details

Jérémy Lal

commit sha fac0cbd04c993f2bc544b21adff1c84748e3c3d6

core template: drop the part done by pagecut, use template.content if possible

view details

push time in 4 days

issue openedpageboard/client

feed: add ?v= to rss link, cache buster for non-conforming clients

Most rss clients do not revalidate the link, so when rss feed version changes, the old version stays in cache.

created time in 4 days

issue commentFinancial-Times/polyfill-library

Feature request: Element innerHTML for IE11

if (!Object.getOwnPropertyDescriptor(Element.prototype, 'innerHTML')) {
  Object.defineProperty(
    Element.prototype,
    'innerHTML',
    Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'innerHTML')
  );
  // but here HTMLElement should not have a innerHTML property, how to remove it ?
}
kapouer

comment created time in 4 days

issue openedkapouer/postinstall-js

use swc to transpile and esbuild to bundle/minify

With fallback to the "pure js", slow, version if it fails.

created time in 4 days

startedevanw/esbuild

started time in 5 days

push eventpageboard/server

Jérémy Lal

commit sha c5a26843ad44a6748b9e0309f803b7f651eb2882

mail: fix send

view details

push time in 5 days

issue openedpageboard/client

pdf: various improvements

Mainly, see how https://www.pagedjs.org/documentation/ could help.

created time in 5 days

issue commentFinancial-Times/polyfill-library

Feature request: Element innerHTML for IE11

Found out more info from this forum, to sum it up:

Microsoft created innerHTML, and the other browsers picked it up.

In IE, innerHTML doesn't behave the same was as in Firefox or Chrome. I was trying to mitigate that by modifying innerHTML directly.

For IE10, Object.getOwnPropertyDescriptor(Element.prototype, "innerHTML") was working, but Object.getOwnPropertyDescriptor(HTMLElement.prototype, "innerHTML") was not. (I think) For IE11 it is the exact opposite..!

kapouer

comment created time in 5 days

issue commentFinancial-Times/polyfill-library

Feature request: Element innerHTML for IE11

In real IE11, tested on about:blank

Object.getOwnPropertyDescriptor(
 Element.prototype,
 'innerHTML'
);
undefined

I suppose the problem is getOwnPropertyDescriptor, then ? But what would be the correct way to obtain the descriptor ?

kapouer

comment created time in 5 days

issue openedFinancial-Times/polyfill-library

Feature request: Element innerHTML for IE11

I recently found out that IE11 has HTMLElement innerHTML get and set:

Object.getOwnPropertyDescriptor(
  HTMLElement.prototype,
  'innerHTML'
);

but not Element.prototype: https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML

created time in 5 days

push eventpageboard/client

Jérémy Lal

commit sha c3d53d7c445a92ce6c2ce06d06de94614f4880b0

feed: fix description / content magnet

view details

Jérémy Lal

commit sha d1358d6e535dcc8983c2598c4c7083dc4e99c4e7

lazyloading: simpler blinking loader

view details

push time in 6 days

issue closedpageboard/server

api, auth: All.send calls auth.filterResponse but ignores item.items

item.items should be filtered as well as children !

closed time in 6 days

kapouer

push eventpageboard/client

Jérémy Lal

commit sha 0322f2f8dc0e4f7fa78d677b365de8a8c76ac94e

core: work around mistake in server api

view details

Jérémy Lal

commit sha 045460619cdddc403989753d6344089c1dcfc5e2

site@0.8.22

view details

push time in 6 days

push eventpageboard/client

Jérémy Lal

commit sha 702da2b19f464240feb6ddb807934bc5c08363dd

Consent another fix

view details

Jérémy Lal

commit sha 1269016825b22a981b9754bd7aef626f4709ecb1

image: svg placeholder need width height and box

view details

Jérémy Lal

commit sha ac1f7d2179a110c8c2dfc1af7a341653b7eba9d9

html@0.8.26

view details

Jérémy Lal

commit sha 734fa571f26a1c9eb7caf20966379031d0beeaf8

google@0.8.9

view details

push time in 7 days

push eventpageboard/client

Jérémy Lal

commit sha e9388790c846aadaa32844828e01ff501771f0e5

site@0.8.20

view details

Jérémy Lal

commit sha 4d26433e4b814f2ada690eb5efa6388be48486e0

html@0.8.24

view details

Jérémy Lal

commit sha 03dde7ae345d78b3ab2838d74f933941dc664e79

google@0.8.7

view details

Jérémy Lal

commit sha b59168a69304705b4c43c3ef531a0c8020273750

consent: don't call when not needed

view details

Jérémy Lal

commit sha b5f5c4abbdadb73c1c3827ff9b4cea24d1a630f8

lazy loading: slower first dot

view details

Jérémy Lal

commit sha 4d7698d7794da08697f5cae275ea83788db7b957

core: do not show page until prerendered

view details

Jérémy Lal

commit sha ea92770fb545511376e2559ec4cdc7e678b45877

core template needs to set contents (commented by mistake)

view details

Jérémy Lal

commit sha 70a80f2d10ea929d3bd1a208d57322b19686d940

html@0.8.25

view details

Jérémy Lal

commit sha 9a8c09209ae60eb239c22dc043459de9bd62e8a7

google@0.8.8

view details

Jérémy Lal

commit sha 685ae8762d4795864f38aae81136a6efe95b8530

site@0.8.21

view details

push time in 8 days

push eventpageboard/server

Jérémy Lal

commit sha 633a55b074b790413290b2dc3d3c3f14111dd589

auth: filterResponse filter items. Fix #73

view details

push time in 8 days

issue openedpageboard/server

api, auth: All.send calls auth.filterResponse but ignores item.items

item.items should be filtered as well as children !

created time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 03f3470c9b0281d41fccd13b4428ddb2a2bc3d22

consent: put all in html

view details

Jérémy Lal

commit sha 51ed2f45de8dfa326a1d426296287fe85a8d2363

core: include doesn't need prepareTemplate here

view details

push time in 9 days

issue openedpageboard/client

write: discard calls setDom which in turn wipes all dynamic content

Affected elements:

  • fetch
  • include
  • sitemap

created time in 9 days

issue openedmicrosoft/playwright

[Feature] api to disable rendering

Some browser engines have the ability to disable rendering to avoid unnecessary calculations. Typical use case:

  • DOM crawling
  • Server-Side-(Pre)Rendering

Chrome headless (no clue about api) has it, and soon wpewebkit.

created time in 9 days

startedmicrosoft/playwright

started time in 9 days

startedJakePartusch/lumberjack

started time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 8e391c7b3145598a01fc3aa75b92b9f83a714313

include/template: fix it by using intermediate function fetch

view details

Jérémy Lal

commit sha 3a83aea14c0b58d99960096c772c30d101c12455

site@0.8.19

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha a5bbd62a07843a8c7309a240828e3f0b42be3e80

Avoid using this.constructor here

view details

Jérémy Lal

commit sha c5c3ead0d34d6d000d85051ea8444d0706d486ae

site@0.8.18

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 0952f8770ed5e48956f939cc4d7a25d68c97b19a

sitemap: fix alias

view details

Jérémy Lal

commit sha 40a2cfec36dd466dcaa3cb4573c0d0f00a6bd0ba

html@0.8.23

view details

Jérémy Lal

commit sha bc5504f1b34c54d227fc06ff155fe9c45a59784a

print@0.8.5

view details

Jérémy Lal

commit sha 2e3a9d9e5e61297aa8b577615f1c1e71ee6f60af

email@0.8.10

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 7c7c2ea42d53430a03763d0fd7d1d7f7c11e3198

html: render sitemap using sitemap type

view details

Jérémy Lal

commit sha c62b3548f0d807b1e89c4d4b8da1b87b0603cc59

Cleanup definitions of sitemap/sitepage/pdf/mail

view details

Jérémy Lal

commit sha 9415fe07682412d2e7c0a45f921b8f178e9f308e

html@0.8.22

view details

Jérémy Lal

commit sha a392290f2179a8f5568507ef2f2a381a051a3308

print@0.8.4

view details

Jérémy Lal

commit sha 8574cdb1c8f61396537765ea476f0c3d98dbf42d

email@0.8.9

view details

push time in 9 days

issue openedpageboard/client

pagecut: copy/paste block that has a template tag will lose the template's content

Can be easily seen with consent element.

created time in 9 days

issue openedpageboard/server

encode video to HLS format - also make a poster

https://github.com/vincentbernat/video2hls

created time in 9 days

issue openedpageboard/client

Use hls.js to play videos

https://vincent.bernat.ch/en/blog/2018-self-hosted-videos https://github.com/vincentbernat/video2hls https://github.com/video-dev/hls.js/

created time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 247e30f166a05e8753fe8ad24bb1151d48272dbb

pagecut: support fragments

view details

Jérémy Lal

commit sha 4701c03e0b8ba6fcd7346ae8922c8b5e11b171a2

write@0.8.8

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha bc67c599002357332f239de5ff6a65711062bf19

email@0.8.8

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha 332b6ded666dde7c738e437c27cee748c0511eed

html@0.8.21

view details

Jérémy Lal

commit sha 8bd71b550805ea37e024097f2d105e010e454db9

write@0.8.7

view details

Jérémy Lal

commit sha 553487e889444d9de926902b9719ea9581bdce1e

google@0.8.6

view details

Jérémy Lal

commit sha cc44c12019ceb364200b141b46c374475564e846

gallery@0.8.7

view details

Jérémy Lal

commit sha 9fef93ba48a22768acdb970c156c80afd852d025

pagecut@0.8.32

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha fd4ea52a7ea8b9c1274f399e799b6629e1d33235

pagecut: toDOMOutputSpec must not keep block-content on dom

view details

Jérémy Lal

commit sha b42396f1fe393a7b1d0cc9150495fb1fa108f71f

html layout background crop: merge it

view details

Jérémy Lal

commit sha 92e30fab7879be022418f355fcc9bb27d83384f6

pagecut: maintain style like class

view details

Jérémy Lal

commit sha fdf764fc5286ac902414be5ab5f98729baf4df77

core@0.8.17

view details

push time in 9 days

push eventpageboard/client

Jérémy Lal

commit sha f0ab7875c113569bde1a44788008e4048c8a85d8

html audio: reveal too

view details

Jérémy Lal

commit sha 709027147b7353fc8c7ab05e7fec57f10de9a4c5

write: what's left of "common" are actually sectioning elements

view details

Jérémy Lal

commit sha 071e3977ab9f1ae99ef5def7d14ea4f63fc151be

gallery: let carousel deal with videos

view details

Jérémy Lal

commit sha 173c375658d1ed0f87da00888af6de1027e1c3ef

html: audio, video builtins are similar, refactor

view details

Jérémy Lal

commit sha 78946891483fbcbfe271b8896cb34668adaa87b0

media elements icons and priorities

view details

push time in 9 days

issue commentungap/custom-elements-builtin

trying to use same class twice by inheritance: works here, not there

In fact in this case extending video builtin requires extending HTMLVideoElement. Likewise for HTMLAudioElement. This has nothing to do with your module, sorry.

kapouer

comment created time in 9 days

issue openedungap/custom-elements-builtin

trying to use same class twice by inheritance: works here, not there

class HTMLElementMedia extends HTMLMediaElement {
  /* ... */
}
HTMLCustomElement.define('element-video', class HTMLElementVideo extends HTMLElementMedia {}, 'video');
HTMLCustomElement.define('element-audio', class HTMLElementAudio extends HTMLElementMedia {}, 'audio');

Upon instantiation, it fails with

Uncaught TypeError: Illegal constructor
    at new HTMLElementMedia (media.js:1)
    at new <anonymous> (media.js:46)

It fails with chrome 80 / firefox 72 but works in webkitgtk 2.26 (where builtins need polyfill).

I suppose there is no obvious solution (besides doing the inheritance "by hand"). Is there ? Maybe it should be documented, since it might work with your polyfill and then break with native builtins.

created time in 9 days

issue openedpageboard/client

schema for element definition

This will allow to build the editor of blocks... the write module itself.

created time in 10 days

push eventpageboard/client

Jérémy Lal

commit sha 48b73ce328eb4f6917efb91cfc07094d72c79749

write: breadcrumb restore help on re-opening editor

view details

Jérémy Lal

commit sha 6d81aa9de4cfc8d8ee3f8e283109959f533a2263

write: do not update if selection does not change

view details

Jérémy Lal

commit sha ba2f9afd05dbed305d0aa95d393c111c97b69db1

core: polyfill NodeList, HTMLCollection forEach/map/indexOf

view details

Jérémy Lal

commit sha 2db617eda8313471930bca5c55ac1bd878ae65d0

Drop Array.from everywhere not needed

view details

Jérémy Lal

commit sha 37157f243ce9d23b1c6849094a09a2370d7c12ad

html: fix select#handleChange reselection

view details

Jérémy Lal

commit sha cce2cfd2df567513c3de4f78bc483903dc6f7ae3

write: store does not need setRoot here

view details

Jérémy Lal

commit sha ba0d8d2f2958ddb5d0f4849ae8737ada7f4b365a

core: import res.items but no need to import children

view details

Jérémy Lal

commit sha b545942f200b4232978cf10ae3d6ca3fe5f31712

consent: write mode workarounds

view details

Jérémy Lal

commit sha b7474823c0797ff56694e0ee3de19f8ffb2198d3

write: mode change reloads with cache

view details

Jérémy Lal

commit sha 90d7871c1a0ee7837db1592ac036eda0ffce7b51

video, audio are new media. Move image, svg to media too.

view details

Jérémy Lal

commit sha b74ccf0e3c9711c71920dce53875239acb97cb21

write: setup do update if docChanged

view details

Jérémy Lal

commit sha ed7ec830bdf9e124f14cc25d749494d603e10003

core route: state.data.$cache is now explicit, so $vary check is over

view details

Jérémy Lal

commit sha 64a0353601cd0e4bb470e895936965c64eef4782

html audio: no css for now

view details

Jérémy Lal

commit sha be9686344a36663f98faaed8349b9afb7f2a0ef1

html image.css: avoid the empty blocks

view details

Jérémy Lal

commit sha 4a4ac131a8cc0b6138dd17e757738743559eb2c2

html audio: fix icon

view details

push time in 10 days

push eventpageboard/server

Jérémy Lal

commit sha 4e116881a34e3659829b305a0ef8b5a614be2294

api href: simplify code and collect audio as well

view details

push time in 10 days

push eventpageboard/server

Jérémy Lal

commit sha a57682ee8de02d871ff54924b4bc312a766e3a1f

api href: get video hrefs too

view details

push time in 10 days

created tagkapouer/window-page

tag10.4.0

Promise-based Page state event handler

created time in 10 days

push eventkapouer/window-page

Jérémy Lal

commit sha f0edeb5adf1f62964d991be29ef6c0458507f208

state.reload(opts) can pass opts.data to next state

view details

Jérémy Lal

commit sha ca37873c3601b08df4a0459767e8d8b34bef0032

reload/replace: pass opts.data, and deal with boolean vary in run

view details

Jérémy Lal

commit sha da6b6dbc8dda0108c7ae213dc356a0b99baae80d

Version 10.4.0

view details

push time in 10 days

push eventpageboard/client

Jérémy Lal

commit sha 0c42601cc74a8e559f312d12c5b059735e7c0ac9

google translate: use Page.storage.getCookies

view details

Jérémy Lal

commit sha 48a5f86f1559729dcc8be4e2b5b57fa5d565b5f3

lazy-loading css fixes

view details

Jérémy Lal

commit sha 200ffcdfe75f41e80f85b95d86e823e2709c0c5d

pagecut: ignore elements with no contents length

view details

Jérémy Lal

commit sha dfa8f65631f36303abbef3e36e93cb9c58dd9322

template: no longer need to use an intermediate div

view details

Jérémy Lal

commit sha 30b56fb79e3c46f60b1152b413184bc6ec0bf298

pagecut: pass el direct to merge

view details

Jérémy Lal

commit sha 755339016aa4f7d77c8d47b350727a55e7d0a903

pagecut: when getting element instance, don't set elements

view details

Jérémy Lal

commit sha 96440de25249370b7038114f7638dc2fb1b08748

pagecut: render might get element as type

view details

Jérémy Lal

commit sha f15dd54509dd780dc6c2016c2e13643d6c54a797

pagecut: allow specs to receive a single child fragment

view details

Jérémy Lal

commit sha ef4efc1936abfc37027fa367e547e177bbbe8171

pagecut: update comment

view details

Jérémy Lal

commit sha c2599423eee8cebc61db876e8297a7c6bb1ea590

pagecut: prosemirror-view@1.14.2

view details

Jérémy Lal

commit sha 9562037191e7961c7ae227867eefc4772ed9aef2

core render: support fragment in that piece of code

view details

Jérémy Lal

commit sha dea78e9ffa472af67c057dc1fead3c13f64f8feb

core render: get optional element from third argument

view details

Jérémy Lal

commit sha dff95e693411a37568e4f2b8031037ce73aebc2e

pagecut/core: simplify block type/element rendering

view details

Jérémy Lal

commit sha c9dffb4ad45cb047ba9d88961494be8c3117a9f4

core: template can serialize to/from script itself, expose method

view details

Jérémy Lal

commit sha 46287a5df851ffb6a2c389796836fc5f57802b77

consent: Page.getConsent, use template to hide content for transient

view details

Jérémy Lal

commit sha 5e9546331c76039ddb9c1c42677d0bf512deba68

html embed: call getConsent

view details

push time in 10 days

issue openedpageboard/client

stop using body block-type to determine root type

Typically:

Page.setup(function(state) {
	// FIXME and all similar tests. Use state.scope.$element (should be root)
	if (document.body.getAttribute('block-type') != "page") {
		return;
	}

should be

Page.setup(function(state) {
    if (state.scope.$page.type != "page") {...}
    if (state.scope.$root.element.group != "page") {...}

anything except having to look up in the dom.

created time in 10 days

push eventkapouer/window-page

Jérémy Lal

commit sha 65b29625288a4d57a6f7ad00c2631fe1c985e03a

Fix call to close -> apply

view details

Jérémy Lal

commit sha 7d77a7367c5c444010299c7b1149bcca22d8fea1

Version 10.3.2

view details

push time in 12 days

created tagkapouer/window-page

tag10.3.2

Promise-based Page state event handler

created time in 12 days

push eventpageboard/client

Jérémy Lal

commit sha 67676c66c8eddb7446ecf393fcbe0ddf41d9156e

write: accept all url params when opening in webmaster mode

view details

Jérémy Lal

commit sha 4b09210dbd73635458b85ec0edf21768ab0c3e26

pagecut: pm-view@1.14.1

view details

Jérémy Lal

commit sha 00bf5c29fa24347d24db5a342c33fd74ad06bab1

write: schemaHelper receives parent schema, allows crop to find its image

view details

Jérémy Lal

commit sha 1e2bac47a6d36fdc7b01e6ce4b7ae8cdd3bcb9c1

lazyload css: first dot starts transparent

view details

Jérémy Lal

commit sha 077bad126b0872930b09119fe451696572eac910

html image: prefer contain over natural

view details

Jérémy Lal

commit sha 58f6f2898887041a2b49b95126b5ad4766367b2c

form: read() - fix radio

view details

Jérémy Lal

commit sha dd8494bb8ab35b2de61bba1883c1192f099d03d5

consent: drop backward compat with dnt

view details

Jérémy Lal

commit sha 99b38b80b38a6cdc9c8f063618b299e23372cf5c

consent: expected name is not dnt

view details

Jérémy Lal

commit sha 64db79d087d6d32e0d55fc3c40f72ad352884a9e

consent: run check on finish

view details

Jérémy Lal

commit sha 7ad4653fd03deaf8b8e689a944bb468867e4c0f4

google translate: support dispose / reinstantiation correctly

view details

Jérémy Lal

commit sha 81b48b7df81f72ed9b2505697f56c2b9536414e3

google translate: needs consent

view details

push time in 12 days

push eventkapouer/window-page

Jérémy Lal

commit sha 2125a1bb07489657201a87710b37ca2e0850d4f7

Connected node must receive close call on disconnection then unchain

view details

Jérémy Lal

commit sha 46dda4278dc7a3c5613f486f4adfd775e59ea717

Version 10.3.1

view details

push time in 12 days

created tagkapouer/window-page

tag10.3.1

Promise-based Page state event handler

created time in 12 days

push eventpageboard/server

Jérémy Lal

commit sha c68a559040d14a9f4c20c4b69dc2587d9ca7bf8e

api: block find/search items are actually standalones, not content

view details

push time in 16 days

push eventpageboard/client

Jérémy Lal

commit sha c431c4791366fb8e56e36bf5918ce81832dd1855

write: semafor fix support for nullable schema

view details

push time in 16 days

push eventpageboard/server

Jérémy Lal

commit sha 789709688dbd91d9317ef86da447741d202e8e9d

api: update ajv

view details

push time in 16 days

push eventpageboard/client

Jérémy Lal

commit sha adc7fc528efae611aec3e1c45c84439d9faf8381

html input_range: also allow removing handles using dblclick

view details

push time in 16 days

issue openedpageboard/server

on-deploy upgrades of blocks

Site modules should be able to embed upgrades (json declarations) for blocks that need to be modified to support elements changes. This is similar but safer than on-the-fly upgrades of blocks:

  • the upgrades definitions sit in a separate file from the elements definitions
  • the upgrades are applied on deploy. Failure to upgrade => failure to deploy.

created time in 16 days

push eventpageboard/client

Jérémy Lal

commit sha ecd7a85911cbba4b3c7399e8ce68d691fe431c41

core: schema filter accepts + postfix for writing key, not val

view details

Jérémy Lal

commit sha 3a667fc1eadbf8d3b9fdce298f3be561f642e99c

pagecut: support other namespaces, drop domify

view details

Jérémy Lal

commit sha 120a2e3c6cfaf1d339362c6c1cb3de19ac9503d9

core: support other namespaces, drop domify

view details

Jérémy Lal

commit sha 9221b64cac8bd2aa4bd23d2d54ac8f6a3a1d8b01

core: update custom-elements-builtin

view details

Jérémy Lal

commit sha 09f27e2d21b5e6171b86155b5b78ec107eff5835

html: svg have ns and works now

view details

Jérémy Lal

commit sha 53cca54475e887f56ba741fc9b76f9a1cc235472

core@0.8.15

view details

Jérémy Lal

commit sha 22e7d43bea912a6cc930486e1404dcbd7191f055

core: schema filter returns value when no schema found

view details

Jérémy Lal

commit sha 5b10df585c0f48c19c6878759a5be60ebf283de6

html input range: finish the job. Indeterminate, del or suppr, pips

view details

Jérémy Lal

commit sha 727b56d0974eda3a48093b93dfa57b78a9c98519

core: template element is useless - fetch is the one

view details

Jérémy Lal

commit sha f8d2d5cb6f864a208fdea8ceb59041c723ea9a0c

template, form: action, redirection are options

view details

Jérémy Lal

commit sha 86e86882c64cda7c79a84085e622ea8ed5296408

core: matchdom@5.10.1 can merge whole tag names

view details

Jérémy Lal

commit sha 201b4de5fb83ec6179e7d75afc3bf4229f709797

write: shorter commit hash

view details

Jérémy Lal

commit sha 80b93492a9c4893f4e54f7ab7b59c1ef41611a3f

core: give binding an asterisk icon

view details

Jérémy Lal

commit sha 1e12e9d58dfd18600fc9155462f4b0964a6f6cdd

gallery: keep previous state.query when pushing

view details

Jérémy Lal

commit sha d3cd117ac6bb11dde84ea28d6e94aa5dc234874d

core: element include

view details

Jérémy Lal

commit sha dd24a6cd064dd225fc75fda14190243e89e99c4f

pagecut: keep block-content attribute when it's been set on model

view details

push time in 16 days

created tagkapouer/matchdom

tag5.10.1

Tiny DOM data merger

created time in 16 days

push eventkapouer/matchdom

Jérémy Lal

commit sha 01c3898528632d0d8e2c4f13b9381ad49e6af64a

Fix fill filter for tag when parent exists

view details

Jérémy Lal

commit sha a562519e1e52602564715fd6f80b8fc8fbe9ca07

Test tag replacement in child

view details

Jérémy Lal

commit sha d4a0d1527c162df2b4c54f3e3aa1e5c0d8e8ef42

Version 5.10.1

view details

push time in 16 days

created tagkapouer/matchdom

tag5.10.0

Tiny DOM data merger

created time in 16 days

push eventkapouer/matchdom

Jérémy Lal

commit sha 9f97412162be7254c4e93a21e11a3f69336bb842

Support invocation with document

view details

Jérémy Lal

commit sha b116c5f24febe3c288236b75c8928866e557ea9a

Check node.nodeValue is set before tokenizing it

view details

Jérémy Lal

commit sha d9958571176add69efb09f3426fd76dfacae9d58

Add some tests with xml, xhtml

view details

Jérémy Lal

commit sha bf1421a72b12b73b5116d73cb2daa85893becb7a

Replace jsdom-global by global-jsdom

view details

Jérémy Lal

commit sha 62bc3b9b23be484c8965e4c99a8dad670672617f

Improve fill filter to be able to fill tag

view details

Jérémy Lal

commit sha e0452c5d70d69c3957bf1b010847673cd855ad3e

Test tag fill

view details

Jérémy Lal

commit sha 0de0c0cd80a3827d66a590e52100e06bc59cb351

Document tag|fill

view details

Jérémy Lal

commit sha 4307c206022c5ec90b857134e418c9ad47e6549d

Version 5.10.0

view details

push time in 16 days

issue openedpageboard/client

page: opt-in elements bundles

Some groups of elements could be split into separate bundles, to be downloaded explicitely (at page level) or implicitely (when adding a "root" element into the page).

  • gallery could be part of it, but unsure
  • svg surely
  • mathml (as an example, it's not like we're going to add mathml support right now through mathquill)
  • calendar elements
  • feed elements
  • write elements !
  • sitemap, sitepage, etc...
  • anything about forms ?

Of course too much spliting like this will slow down scripts downloads, so it should be limited as much as possible.

created time in 17 days

issue openedpageboard/server

form upload: uploaded file url is exposed

It should be way less easy to get an uploaded file url - especially when it's uploaded by an unknown user.

created time in 18 days

issue closedpageboard/client

global lazy loading: load images a bit before, and iframes a bit after

Currently images and embeds are loaded just when they become visible.

closed time in 18 days

kapouer

issue commentpageboard/client

global lazy loading: load images a bit before, and iframes a bit after

Fixed in site@0.8.14

kapouer

comment created time in 18 days

issue closedpageboard/client

html form: reset form if a redirection is set

I recently added form reset on successful api_form submit, but in such event sometimes the page stays and the form must not be reset.

closed time in 18 days

kapouer

issue commentpageboard/client

html form: reset form if a redirection is set

Fixed by https://github.com/pageboard/client/commit/edb153beaf5c393eec93ac4f4d25cd6137461694

kapouer

comment created time in 18 days

issue closedpageboard/client

layout: responsive background-image to avoid heavy images

This is related to #29 but should be fixable without it.

closed time in 18 days

kapouer

issue commentpageboard/client

layout: responsive background-image to avoid heavy images

Fixed in html@0.8.19

kapouer

comment created time in 18 days

issue closedpageboard/client

table: thead/tbody/tfoot insertion does not work

Probably a bug in insertTr.

closed time in 18 days

kapouer

issue commentpageboard/client

table: thead/tbody/tfoot insertion does not work

Fixed in pagecut@0.8.30

kapouer

comment created time in 18 days

push eventpageboard/client

Jérémy Lal

commit sha 9302610e3ec8c9bbbbb0de684221a1b762ee31ac

gallery: give height units (default % to keep backward compatible)

view details

Jérémy Lal

commit sha b1f85f77762c43b4c86917fddeba709832f5e4da

gallery@0.8.5

view details

push time in 19 days

push eventpageboard/client

Jérémy Lal

commit sha f22010efffc2632f8267ae4dfc81156f26ac53f7

email: need _ to belong to mail_block

view details

Jérémy Lal

commit sha c579269712a74c4dd1eb1fa6eefebbd9c2e1060b

email@0.8.6

view details

Jérémy Lal

commit sha 29cdc93df34b11044b0c74ef0f90342e6e132f60

gallery@0.8.4

view details

Jérémy Lal

commit sha c57dfbfb3f313eb59d155bf3a51aceafe91189f1

feed@0.8.1

view details

Jérémy Lal

commit sha a10f771527b79642a8682b2b13292f1c5e81e713

google@0.8.5

view details

Jérémy Lal

commit sha f5739ec4a6c8168b9f54b3092b036f087703cb21

html@0.8.18

view details

Jérémy Lal

commit sha 4b2584faa17394482a175aa17ee948ee75b24891

html image: simplify css, actually apply horizontal align for contain

view details

Jérémy Lal

commit sha e4225667267022b972cbfd96a6af99ce8383736d

html image: factor dim calc into dimensions getter

view details

Jérémy Lal

commit sha 2f22165821bc28eb0d39c6c053500872965017ef

html image: forgot to add dimensions to inline image

view details

Jérémy Lal

commit sha 5f55e0d4eb99fae65e5880988fb0c99b7038bbbc

html: layout lazy-loads background image

view details

Jérémy Lal

commit sha 5fd91ca49d7d536ae4210c16d79a204b8ac5ccfc

html@0.8.19

view details

push time in 19 days

push eventpageboard/server

Jérémy Lal

commit sha 86ef57f69dcfa7b7f42ecda95783d984e17c9b21

aapi href: collectHrefs do not leave standalone children out

view details

push time in 19 days

push eventpageboard/client

Jérémy Lal

commit sha 3f38754e4c49bf9e0a6f0e5556c6d096a976c929

pagecut: better dom.className check

view details

Jérémy Lal

commit sha 1e216880223b960024c95e669317549435453a9a

pagecut: fix focus selection when content is selected

view details

Jérémy Lal

commit sha a866eb0b134ee5775f64e4e76c0d22c785408568

write: force style for block-focused last

view details

Jérémy Lal

commit sha 50a4618ea0c8595ada455cc3e8338dc4aa6caf3e

html: inline link parsed when has no block-type other than self

view details

Jérémy Lal

commit sha e89b0763045e868cd7103432fd42ba0670d17f5c

image: fit none must grow

view details

Jérémy Lal

commit sha 1203f9bfa02ad664d51b452d4781643cf2389a28

image: fit none must get its own dimension

view details

Jérémy Lal

commit sha 70b997da4529425737637a373a0156f3910a1c58

pagecut@0.8.30

view details

Jérémy Lal

commit sha 38ba69a418b40271cb4b685d063d2ad19e13d851

site@0.8.14

view details

Jérémy Lal

commit sha 4f033d875249dd7bdb1ec6557275f236727c6c32

write@0.8.5

view details

push time in 19 days

issue openedkapouer/sharpie

svg compress using svgo

https://www.npmjs.com/package/svgo

created time in 19 days

push eventpageboard/client

Jérémy Lal

commit sha 9222c62a724d37ea31c30180e9e43b588ac6ac72

Depends pagecut@0.8.29

view details

Jérémy Lal

commit sha 75aa5d6df51e3b794234e6a52428992e11bd6c2b

write: try to keep form steady when changing selection

view details

Jérémy Lal

commit sha 2ccb20c54d07bd09a6bc5c001742250ad7812260

html menu: add an 'item block' that can contain blocks

view details

Jérémy Lal

commit sha 2c20813e80c0d6a997c85bbc0aeb1cac454678e8

gallery: separate updateStyle from patch

view details

Jérémy Lal

commit sha 038564aeea06ec59bb35b7114d86eff0baaf5259

pagecut: fix domSelector to not break on svg nodes

view details

Jérémy Lal

commit sha a20401414ecf532059295cc4f53811fbf55d8963

feed: properly export html as xhtml

view details

Jérémy Lal

commit sha ae7ab09bb225fa57827e32712983f9ee09f849b6

text element can belong to multiple groups

view details

Jérémy Lal

commit sha 9da9232625ce1199bb6199b135de55ec70d7d7ad

html menu: labeled menu (vertical), item link, block, text

view details

Jérémy Lal

commit sha aa11c454b78a739990d6c6222b4d6b0c9ad92695

image: split getZoom

view details

Jérémy Lal

commit sha 3e1f7fbf94e97a356d798d098ca5f3d14717ae55

pagecut: avoid block-data as much as possible

view details

Jérémy Lal

commit sha b3f18471774747f7645817654a1637f167119c11

pagecut: try to parse svg

view details

Jérémy Lal

commit sha 8ec652c1d2df6db104f7d79bc417402c6b0e1ffc

html: basic svg elements

view details

push time in 19 days

more