Commit Graph

389 Commits

Author SHA1 Message Date
Henrik Ingo
dcc8446788 Remove npm-update from CircleCI (#778)
It started failing 2 months ago and shouldn't be needed at all.
2021-01-03 20:31:27 +02:00
kdxcxs
d0c427f172 Support Chinese in impressConsole (#774) 2020-10-11 10:42:48 +03:00
Tim Gates
d8e2f17f95 docs: Fix simple typo, glithes -> glitches (#773) 2020-09-13 20:33:02 +03:00
Henrik Ingo
ddfb5eb78c Release version 1.1.0 2020-04-10 20:58:05 +03:00
IngridRegina
a5e5b96291 created impress-common.css (#760)
Co-authored-by: Ingrid-Regina Vähi <ingrid.vahi@adm.ee>
2020-04-05 17:14:18 +03:00
Mohamed Feddad
93b846f07a Add autoplay URL parameter trigger. (#764)
Resolves #720
2020-04-02 13:21:20 +03:00
Mohamed Feddad
203b85808c Add markdown dialect attribute. (#763)
Resolves #724
2020-04-01 10:08:27 +03:00
Henrik Ingo
ef57b5b471 Add npm run all to run build+test+lint 2020-03-29 11:32:18 +03:00
Henrik Ingo
99484d11b8 node build.js forgotten in a media plugin update
Fixes b7983887aa
2020-03-29 11:28:54 +03:00
Henrik Ingo
511d87e726 Update all node_modules to newest versions 2020-03-29 11:26:05 +03:00
Henrik Ingo
d3c467b0fd Use darker text for classic-slides
Based on audience feedback from conference talk.
2020-03-23 14:43:12 +02:00
Henrik Ingo
64dd0f4064 Add documentation and examples for scaling to larger screens.
Document all attributes to root element (#impress) in DOCUMENTATION.md.

For the main demo (/index.html) add width, height, max-scale, min-scale
attributes to the main demo. These just use the defaults, except
data-max-scale="3" which allows to scale to larger screens (HD, 4K).

For examples/classic-slides, add attributes to root element and set it
to target Full HD 1920 x 1080 resolution. Adjust CSS to match.

Add notification everywhere that defaults will change in 2021.
2020-03-23 14:25:15 +02:00
Eduardo Moreira
6ced0516f6 Remove bower from project (#762) 2020-03-22 15:05:43 +02:00
Tobias Bora
b7983887aa media plugin doc: autostart -> autoplay (#748) 2019-12-07 11:40:07 +02:00
Henrik Ingo
d5bbbc40ae Remove dead link from demo slides 2019-10-29 21:04:49 +02:00
Oliver Sanders
934c2266c4 substep: add substep-active class (#741) 2019-09-11 14:42:24 +03:00
Jason Cooke
2826aecde7 docs: fix typo (#738) 2019-07-06 11:31:46 +03:00
Henrik Ingo
646fc3c45a Fix lint 2019-06-27 09:07:33 +03:00
Henrik Ingo
05cf6ffded rel: In teardown, only reset data-x/y/z attribute if we modified it.
Fixes downstream bug in impressionist:
https://github.com/henrikingo/impressionist/issues/20
2019-06-27 06:58:48 +03:00
Christoph Weiler
628b78f3fd Bugfix: Scaling bug on swipe, when window scale is not 1 (#736) 2019-06-13 13:27:27 +03:00
Will Soares
c61403d57a Trigger event on substep enter (#730) 2019-04-25 13:41:50 +03:00
drna3r
c6d468ed26 Remove "that"! (#726) 2019-04-25 11:13:56 +03:00
Henrik Ingo
3e4d7d2e42 Small README edit 2019-04-11 12:59:38 +03:00
Moritz
898083116b Update dependencies and remove outdated ones (#722)
* Update dependencies and remove outdated ones
* Add package lock file
* Add minified file
* Karma now uses headless browser to run QUnit
* Add to readme that node and npm install is required
* Update license info
* Add lint-new but don't use it in CI yet
2019-04-10 10:21:23 +03:00
Guilherme I F L Weizenmann
97546a5536 Add fullscreen with support to remote presentation controller (#712)
- F5 to enter/exit
- Escape to exit
2019-02-06 13:36:04 +02:00
Guilherme I F L Weizenmann
6db3f7c877 Add support for "." to enter/exit blackout screen (#716)
* Add support for "." to enter/exit blackout screen

- This is the default on Power Point
- THis add support for remote controller presentation blackout key

* Rename autoplay event call from resume to play
2019-02-06 13:25:11 +02:00
Guilherme I F L Weizenmann
6776a0dab7 Add pause and play events to autoplay (#713)
This is useful to request pause/resume from other plugins
2019-02-06 13:21:51 +02:00
Henrik Ingo
24e28cc43f Fix example in plugin README 2019-01-02 13:35:27 +02:00
Henrik Ingo
4d3adb09cd Fix form plugin for input fields.
It turns out input[type=text] will only find input fields where
the type attribute is explicitly set to text, but would skip
fields that left it out and defaulted to type text. This changes
to catch all types of input elements.
2019-01-01 21:40:46 +02:00
Henrik Ingo
f6f4a36766 Add test/HOWTO.md (#696)
Note: I will now expect new PRs to add tests for the functionality they
add or change. (Including my own, mostly...)

Fixes #657
2018-12-17 21:35:15 +02:00
zilioti
65870699f4 Add keyup event for shift space previous slide (#706) 2018-10-22 11:18:53 -04:00
zilioti
dd74d3da0a Add keyup for 191 keyCode (#705) 2018-10-22 11:16:53 -04:00
Henrik Ingo
4b326d4164 Remove edits to example presentation, used to test previous commit 2018-05-08 20:09:58 +03:00
Henrik Ingo
194ae3bb62 Fixes to data-rel-to
Fixes 80ffff0e8f
2018-05-08 20:01:11 +03:00
Henrik Ingo
67079504b5 Run node build.js to update js/impress.js from previous commit 2018-05-08 19:18:07 +03:00
Holger Teichert
80ffff0e8f rel: Add relative positioning relative to any previous step. (#686) 2018-05-01 21:57:40 +03:00
Holger Teichert
c09ce88749 New plugin: media (#676)
The media plugin can autoplay and autopause/autostop <audio> and <video> elements when entering and leaving a step.

Support for impressConsole: don't autoplay in preview window and play but mute clips in current window.
2018-03-17 16:33:34 +02:00
Henrik Ingo
09b5d46c85 Update npmignore to publish v1.0.0 on NPM
Fixes #679
2018-03-15 08:57:45 +02:00
Henrik Ingo
e8394d0899 Remove beta label from version strings.
Also update Copyright / Author info in core module.
2018-03-09 10:23:25 +02:00
Henrik Ingo
436f92e09b Another attempt at fixing the race issue in tests for Chrome.
Seems like setting iframe.src to a dummy value causes Chrome
to trigger the onLoad event when it 404s.
2018-03-04 14:39:13 +02:00
Jon Schlinkert
fbb17083d5 Fix condition in if statement for data-rotate-order
References #673
2018-03-04 13:58:41 +02:00
Henrik Ingo
2a3dd7ebb2 Remove outdated comment about copying syn.js into repo. No longer the case. 2018-02-25 13:12:15 +02:00
Henrik Ingo
e52866d1c4 Remove CHANGELOG.md as it was no longer up to date.
For release notes, see Github release page:
https://github.com/impress/impress.js/releases

For absolutely every detail, see Github commits page (or `git log`)
https://github.com/impress/impress.js/commits/master

Fixes #574
2018-01-08 00:20:58 +02:00
Henrik Ingo
e99a2df7f2 Fix typo 2018-01-07 18:46:36 +02:00
Henrik Ingo
4b5fe0fbf8 Set stopPropagation() event handlers for text input fields
Fixes #525 #140
2018-01-06 18:28:34 +02:00
Henrik Ingo
8b14eda98f Broader try-catch for handling impress-console-button disappearance (#652)
The previous attempt at merely reading a property of event.target was
incorrect. It worked at first but errors reappeared later, so must
have been a reace.

This wraps the entire navigation event handlers in the try-catch, and
then checks for the very specific error and suppresses it. Other errors
are rethrown as is.
2018-01-01 16:03:13 +02:00
Henrik Ingo
784a6d245b Also sync js/impress.js / Forgot to run node build.js 2018-01-01 15:32:16 +02:00
Henrik Ingo
729651dd5d Fix lint errors 2018-01-01 15:27:33 +02:00
Henrik Ingo
e92e02ccb4 Make impress-console-button actually clickable (#651)
Changed the onclick handler to trigger the impress:console:open event
and not use the impressConsole() global function any more. The latter
is considered deprecated now that impressConsole is integrated into
impress.js itself.

Also catch some errors that appear in event handlers when the target
for the click event was immediately removed from DOM.

Fixes #651
2018-01-01 15:05:55 +02:00
Naja Melan
b86214c6e9 impressConsole: Don't put onclick inside style attribute (#652) 2018-01-01 12:54:55 +02:00