Commit Graph
104 Commits
Author SHA1 Message Date
Nathan TannarandGitHub a4654372ef Merge pull request #913 from JulienKode/CustomDetectorType
[DetectorType][MessageLabel] Add custom, mention and hashtag detector type 👻
2019-03-24 17:39:48 -07:00
Nathan Tannar b542ac88ee Rename id to senderId in SenderType 2019-03-24 17:38:20 -07:00
Nathan TannarandGitHub 7555e0ac16 Merge branch '3.0.0-beta' into CustomDetectorType 2019-02-28 19:21:38 -08:00
subdiox 223205381f fix .audio for test 2019-02-27 11:26:30 +09:00
Nathan Tannar 2f1c0e53ce Bump copyright year 2019-02-21 20:53:23 -08:00
Nathan Tannar 94d121bc00 Merge remote-tracking branch 'origin/3.0.0-beta' into sender-protocol 2019-02-19 00:07:50 -08:00
Nathan Tannar 16a070bf58 Fix test spec 2018-12-26 15:46:57 -08:00
Iosif Moldovan 7f855d20a3 pull out BasicAudioController from MessageKit framework 2018-12-15 12:44:33 +02:00
Julien K 60c10d62f3 Merge remote-tracking branch 'upstream/development' into CustomDetectorType 2018-11-27 16:37:34 +01:00
Nathan Tannar 308eb6bffe Update Test Cases 2018-11-25 21:27:33 -08:00
Iosif Moldovan 8130c6e0f5 Merge branch 'development' of https://github.com/MessageKit/MessageKit into tagonsoft_development
# Conflicts:
#	CHANGELOG.md
2018-11-16 13:19:37 +02:00
Aleph Retamal be91c62393 Merge remote-tracking branch 'origin/master' into HEAD 2018-11-04 11:05:52 +11:00
Julien K d238e09155 [Update] 2018-11-02 11:17:39 +01:00
Aleph RetamalandSteven Deutsch 6f04569369 Move test to Quick/Nimble (#924)
Moved **testMessageCollectionView_hasMessageCollectionFlowLayoutAfterViewDidLoad** to MessagesViewControlerSpec.swift and removed a duplication of this test
2018-11-01 22:35:38 -05:00
Aleph Retamal 7465fff120 Removed repeated test
On MessagesViewControllerTests.swift there was a test verifying if the delegate and datasorce were the same object. A similar test can be found on MessagesViewController.spec, so I removed it
2018-10-31 10:43:30 +11:00
Julien K 77e9ccda46 [DetectorType] add .mention, .hashtag and .custon() to detect your own pattern
[DetectorType] Put mention and hashtag as var

[CHANGELOG] Update

[DetectorType] Update to have at least 4 characters and more

[CHANGELOG] Update

[DetectorType]

[MessageLabel] run NSDataDetector once

[MessageLabel] Run NSDataDetector once

[Testing] Add testing and pass rangesOfDetectors as internal

[Refactoring]

[Filter] only .custom

[Examples]
2018-10-26 12:15:27 +02:00
Iosif Moldovan 0396faf5d4 try fix Circle CI tests 2018-10-26 10:09:11 +03:00
Iosif Moldovan 4d7e0ed839 try fix Circle CI tests 2018-10-26 10:00:56 +03:00
Iosif Moldovan e4099ffc1d try fix Circle CI fail test 2018-10-26 09:51:30 +03:00
Iosif Moldovan d12d8c0162 apply talanov edit sugestion 2018-10-17 17:22:06 +03:00
Iosif Moldovan ab9683b034 add logs in AudioControllerTests 2018-10-17 11:02:39 +03:00
Iosif Moldovan 2e6c76f061 rename AudioControllerDelegate method 2018-10-17 10:19:19 +03:00
Iosif Moldovan de8ba43a34 clean code and add tests for audio controller 2018-10-16 10:31:51 +03:00
Iosif Moldovan 09907c10bd add test case for check return of audio message cell 2018-10-04 12:40:12 +03:00
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -07:00
Nathan TannarandSteven Deutsch 230e067009 Integrate MessageInputBar as a dependency (#732)
* Remove MessageInputBar files and change build settings

* Conditional imports to allow for builds without MessageInputBar

* Update Cardfile

* Specify Version in Cartfile for MessageInputBar

* Remove conditional imports in favor of Carthage for local development

* Additional `import MessageInputBar`

* Remove `MessageInputBar` from Cartfile.private

* Bump MessageInputBar version

* Add Cartfile

* Tweak build settings

* Specify import of MessageInputBar for Carthage
2018-09-17 12:22:21 -05:00
Polina Petrenko 3bfeccd080 Fix a typo in scrollsToBottomOnKeybordBeginsEditing 2018-09-11 23:10:20 +03:00
Wu ZhongandGitHub 528ed1aae6 Fixed MessageContentCell's subviews frame when size equal to .zero (#716)
* Fixed MessageContentCell's subviews frame when size equal to .zero

* Remove .zero check

* Fix test failure
2018-06-07 11:45:32 +08:00
Steven Deutsch 9bfccfba2e Fix failing tests 2018-04-26 02:51:49 -05:00
zhongwuzw 39986f0458 Renamed MessageData to MessageKind 2018-04-16 11:57:50 +08:00
Steven Deutsch bb1ea1d67e Remove failing tests 2018-04-03 13:45:52 -05:00
Steven DeutschandWu Zhong 07c0e58597 Remove the limitation of 1 cell to 1 section (#601)
* Add numberOfSections delegate method

* Remove numberOfMessages(in) and add other two substitution methods

* Fix tests failure
2018-03-29 13:16:32 +08:00
Steven Deutsch a79149e6cd Fix failing unit tests 2018-03-28 06:18:57 -05:00
Steven Deutsch caefdbc22b Fix tests 2018-03-24 03:52:35 -05:00
Steven Deutsch 5707a3441f Add MediaItem protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch c3a2bef1c9 Merge branch 'master' of https://github.com/MessageKit/MessageKit into development 2018-03-18 16:51:09 -05:00
Yishai c5c4bd4c86 TransitInformation - Updated tests and example project 2018-02-15 09:53:43 +00:00
Nick Donaldson 4a1fc40714 Test bubble image equality after cache clears
Change MessageStyle.bubbleImageCache access level to internal
and extend unit test to clear cache and check for inequality
after an image is requested again
2018-02-12 09:37:12 -08:00
Nick Donaldson 1e81ae617d Add test for outline image caching
Assert images returned for the same outline style are identical.
2018-02-12 09:23:09 -08:00
Steven Deutsch 4e123c35db Gardening + fix failing tests 2018-01-28 14:28:47 -06:00
Wu ZhongandGitHub 2e9ff264a8 Merge pull request #459 from MessageKit/refactor/clean-up
Split MessagesViewController functionality & add MessageKitError
2018-01-14 16:54:13 +08:00
zhongwuzw 71e644cf62 Fix tests error 2018-01-14 16:33:41 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Alessio Arsuffi faa4f92d1d LocationMessageSnapshotOptions public
Added public init and public accessors for
LocationMessageSnapshotOptions;
added test also;
2018-01-10 12:01:59 +01:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
zhongwuzw a7121192af Fix tests failure when last week is the last year 2018-01-02 23:12:19 +08:00
Wu ZhongandSteven Deutsch b4aeea146c Add configureImageForAvatarView(::::) protocol to expose avatarView &… (#416)
* Add configureImageForAvatarView(::::) protocol to expose avatarView &&  remove avatar(:::)

* Refactor AvatarView && change configureImageForAvatarView's name to configureAvatarView

* Optimize code && fix tests

* Add CHANGELOG entry

* Revert "Add CHANGELOG entry"

This reverts commit 0124ab920b.
2017-12-21 16:52:04 -06:00
Steven Deutsch 435b053c8a Revert change that attempts to sync MessageLabel properties 2017-12-16 21:07:15 -06:00
Steven DeutschandGitHub 769dc7477a Merge pull request #395 from zhongwuzw/fix-scroll-to-bottm
Fix scrollToBottom && remove scrollsToBottomOnFirstLayout
2017-12-12 02:49:59 -06:00
Steven DeutschandGitHub 0af6454ad9 Merge pull request #391 from MessageKit/enhancement/remove-cells
Removing cell generic constraints
2017-12-11 13:38:03 -06:00